Mercurial > hg > xmms-sid
diff src/xs_sidplayfp.cpp @ 924:6ef144912c0f
Clear rom image pointers before trying to load them.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 13 Nov 2012 18:53:16 +0200 |
parents | 5d26b869a48e |
children | 8f1027a6b4a0 |
line wrap: on
line diff
--- a/src/xs_sidplayfp.cpp Sun Nov 11 07:28:41 2012 +0200 +++ b/src/xs_sidplayfp.cpp Tue Nov 13 18:53:16 2012 +0200 @@ -305,6 +305,7 @@ XSDEBUG("%s\n", engine->config.sidEmulation->credits()); #ifdef HAVE_SIDPLAYFP_V1 + memset(engine->romImages, 0, sizeof(engine->romImages)); if (!xs_load_rom_images(engine->romImages)) return FALSE;