diff --git a/Changes.txt b/Changes.txt index 3b95dab75..d22a9a8b3 100644 --- a/Changes.txt +++ b/Changes.txt @@ -24,6 +24,9 @@ reading from TIMINT. Also, D6 of the Interrupt Flag register is now properly set on active transition of the PA7 pin. + * Fixed bug in DPC+ bankswitch scheme; the music in "Stay Frosty 2" + wasn't playing correctly. + * The ROM properties database now uses 'Auto' instead of 'Auto-select' everywhere. This makes for less typing when running from the commandline. diff --git a/src/emucore/CartDPCPlus.cxx b/src/emucore/CartDPCPlus.cxx index 5e82dfe4f..1c98ed9b0 100644 --- a/src/emucore/CartDPCPlus.cxx +++ b/src/emucore/CartDPCPlus.cxx @@ -50,8 +50,8 @@ CartridgeDPCPlus::CartridgeDPCPlus(const uInt8* image, uInt32 size, // Pointer to the display RAM myDisplayImage = myDPCRAM + 0xC00; - // Pointer to the Frequency ROM (1K @ 28K offset) - myFrequencyImage = myProgramImage + 0x7000; + // Pointer to the Frequency RAM + myFrequencyImage = myDisplayImage + 0x1000; // If the image is larger than 29K, we assume any excess at the // beginning is ARM code, and skip over it @@ -59,8 +59,6 @@ CartridgeDPCPlus::CartridgeDPCPlus(const uInt8* image, uInt32 size, { int offset = size - 29 * 1024; myProgramImage += offset; -// myDisplayImage += offset; -// myFrequencyImage += offset; } #ifdef THUMB_SUPPORT