mirror of https://github.com/stella-emu/stella.git
Fixed music bug in DPC+ scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2555 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
803083e51a
commit
192ad0bf81
|
@ -24,6 +24,9 @@
|
||||||
reading from TIMINT. Also, D6 of the Interrupt Flag register is now
|
reading from TIMINT. Also, D6 of the Interrupt Flag register is now
|
||||||
properly set on active transition of the PA7 pin.
|
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'
|
* The ROM properties database now uses 'Auto' instead of 'Auto-select'
|
||||||
everywhere. This makes for less typing when running from the
|
everywhere. This makes for less typing when running from the
|
||||||
commandline.
|
commandline.
|
||||||
|
|
|
@ -50,8 +50,8 @@ CartridgeDPCPlus::CartridgeDPCPlus(const uInt8* image, uInt32 size,
|
||||||
// Pointer to the display RAM
|
// Pointer to the display RAM
|
||||||
myDisplayImage = myDPCRAM + 0xC00;
|
myDisplayImage = myDPCRAM + 0xC00;
|
||||||
|
|
||||||
// Pointer to the Frequency ROM (1K @ 28K offset)
|
// Pointer to the Frequency RAM
|
||||||
myFrequencyImage = myProgramImage + 0x7000;
|
myFrequencyImage = myDisplayImage + 0x1000;
|
||||||
|
|
||||||
// If the image is larger than 29K, we assume any excess at the
|
// If the image is larger than 29K, we assume any excess at the
|
||||||
// beginning is ARM code, and skip over it
|
// beginning is ARM code, and skip over it
|
||||||
|
@ -59,8 +59,6 @@ CartridgeDPCPlus::CartridgeDPCPlus(const uInt8* image, uInt32 size,
|
||||||
{
|
{
|
||||||
int offset = size - 29 * 1024;
|
int offset = size - 29 * 1024;
|
||||||
myProgramImage += offset;
|
myProgramImage += offset;
|
||||||
// myDisplayImage += offset;
|
|
||||||
// myFrequencyImage += offset;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef THUMB_SUPPORT
|
#ifdef THUMB_SUPPORT
|
||||||
|
|
Loading…
Reference in New Issue