diff --git a/src/emucore/CartBUS.cxx b/src/emucore/CartBUS.cxx index 2769adaf0..56da91fd7 100644 --- a/src/emucore/CartBUS.cxx +++ b/src/emucore/CartBUS.cxx @@ -74,11 +74,7 @@ CartridgeBUS::CartridgeBUS(const BytePtr& image, uInt32 size, // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void CartridgeBUS::reset() { - // Initialize RAM - if(mySettings.getBool("ramrandom")) - initializeRAM(myBUSRAM+2048, 8192-2048); - else - memset(myBUSRAM+2048, 0, 8192-2048); + initializeRAM(myBUSRAM+2048, 8192-2048); // Update cycles to the current system cycles mySystemCycles = mySystem->cycles(); diff --git a/src/emucore/CartCDF.cxx b/src/emucore/CartCDF.cxx index dbd5d28bc..3d6c96f74 100644 --- a/src/emucore/CartCDF.cxx +++ b/src/emucore/CartCDF.cxx @@ -73,11 +73,7 @@ CartridgeCDF::CartridgeCDF(const BytePtr& image, uInt32 size, // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void CartridgeCDF::reset() { - // Initialize RAM - if(mySettings.getBool("ramrandom")) - initializeRAM(myCDFRAM+2048, 8192-2048); - else - memset(myCDFRAM+2048, 0, 8192-2048); + initializeRAM(myCDFRAM+2048, 8192-2048); // Update cycles to the current system cycles myAudioCycles = mySystem->cycles();