diff --git a/libsnes/bsnes/target-libsnes/libsnes.cpp b/libsnes/bsnes/target-libsnes/libsnes.cpp index 0c7a578910..1f9bf02e1e 100644 --- a/libsnes/bsnes/target-libsnes/libsnes.cpp +++ b/libsnes/bsnes/target-libsnes/libsnes.cpp @@ -219,9 +219,12 @@ template inline void reconstruct(T* t) { void snes_init(void) { - //force everything to get initialized, even thuogh it probably already is + //force everything to get initialized, even though it probably already is SNES::interface(); + //zero 22-may-2014 - why not this too, for the sake of completeness? + reconstruct(&SNES::cartridge); + //zero 01-dec-2012 - due to systematic variable initialization fails in bsnes components, these reconstructions are necessary, //and the previous comment here which called this paranoid has been removed. reconstruct(&SNES::icd2); diff --git a/output/dll/libsneshawk-32-compatibility.exe b/output/dll/libsneshawk-32-compatibility.exe index e21ca0073c..36f605468c 100644 Binary files a/output/dll/libsneshawk-32-compatibility.exe and b/output/dll/libsneshawk-32-compatibility.exe differ diff --git a/output/dll/libsneshawk-32-performance.exe b/output/dll/libsneshawk-32-performance.exe index ac8683a082..728874098d 100644 Binary files a/output/dll/libsneshawk-32-performance.exe and b/output/dll/libsneshawk-32-performance.exe differ