Mercurial > hg > xmms-sid
comparison src/xs_sidplay2.cc @ 791:0995fa233462
Remove useless state variable.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 06 Nov 2012 16:34:06 +0200 |
parents | 8fb51f9ef44e |
children | 3e305ce076e8 |
comparison
equal
deleted
inserted
replaced
790:40eb0327c427 | 791:0995fa233462 |
---|---|
463 { | 463 { |
464 xs_error("[SIDPlay2] emu.load() failed\n"); | 464 xs_error("[SIDPlay2] emu.load() failed\n"); |
465 return FALSE; | 465 return FALSE; |
466 } | 466 } |
467 | 467 |
468 state->isInitialized = TRUE; | |
469 | |
470 return TRUE; | 468 return TRUE; |
471 } | 469 } |
472 | 470 |
473 | 471 |
474 /* Emulate and render audio data to given buffer | 472 /* Emulate and render audio data to given buffer |
489 /* Load a given SID-tune file | 487 /* Load a given SID-tune file |
490 */ | 488 */ |
491 gboolean xs_sidplay2_load(XSEngineState * state, gchar * filename) | 489 gboolean xs_sidplay2_load(XSEngineState * state, gchar * filename) |
492 { | 490 { |
493 XSSIDPlay2 *engine = (XSSIDPlay2 *) state->internal; | 491 XSSIDPlay2 *engine = (XSSIDPlay2 *) state->internal; |
494 | |
495 state->isInitialized = FALSE; | |
496 | 492 |
497 if (!engine) | 493 if (!engine) |
498 return FALSE; | 494 return FALSE; |
499 | 495 |
500 if (!(engine->tune = new SidTune(filename))) | 496 if (!(engine->tune = new SidTune(filename))) |