mirror of https://github.com/stella-emu/stella.git
added another UA bankswitching detection pattern
This commit is contained in:
parent
54c0dc8420
commit
279cffe7b7
|
@ -761,7 +761,7 @@ bool CartDetector::isProbablyUA(const ByteBuffer& image, size_t size)
|
|||
// Other Brazilian (Atari Mania) ROM's bankswitching switches to bank 1 by accessing address 0xFC0
|
||||
// using 'BIT $FA0', 'BIT $FC0' or 'STA $FC0'
|
||||
// Also a game (Motocross) using 'BIT $EFC0' has been found
|
||||
uInt8 signature[9][3] = {
|
||||
uInt8 signature[10][3] = {
|
||||
{ 0x8D, 0x40, 0x02 }, // STA $240 (Funky Fish, Pleiades)
|
||||
{ 0xAD, 0x40, 0x02 }, // LDA $240 (???)
|
||||
{ 0xBD, 0x1F, 0x02 }, // LDA $21F,X (Gingerbread Man)
|
||||
|
@ -769,10 +769,11 @@ bool CartDetector::isProbablyUA(const ByteBuffer& image, size_t size)
|
|||
{ 0x8D, 0xC0, 0x02 }, // STA $2C0 (Fathom, Vanguard)
|
||||
{ 0xAD, 0xC0, 0x02 }, // LDA $2C0 (Mickey)
|
||||
{ 0x2C, 0xC0, 0x0F }, // BIT $FC0 (H.E.R.O., Kung-Fu Master)
|
||||
{ 0x8d, 0xC0, 0x0F }, // STA $FC0 (Pole Position)
|
||||
{ 0x8d, 0xC0, 0x0F }, // STA $FC0 (Pole Position, Subterranea)
|
||||
{ 0xad, 0xC0, 0x0F }, // LDA $FC0 (Front Line, Zaxxon)
|
||||
{ 0x2C, 0xC0, 0xEF } // BIT $EFC0 (Motocross)
|
||||
};
|
||||
for(uInt32 i = 0; i < 9; ++i)
|
||||
for(uInt32 i = 0; i < 10; ++i)
|
||||
if(searchForBytes(image, size, signature[i], 3))
|
||||
return true;
|
||||
|
||||
|
|
|
@ -56,7 +56,7 @@ WhatsNewDialog::WhatsNewDialog(OSystem& osystem, DialogContainer& parent,
|
|||
add(ypos, "fixed QuadTari support for some controller types");
|
||||
add(ypos, "added MovieCart support");
|
||||
}
|
||||
add(ypos, "completely reworked and enhanced the file launcher");
|
||||
add(ypos, "extensively redesigned and enhanced file launcher");
|
||||
add(ypos, "improved controller mappings for Paddles");
|
||||
add(ypos, "improved controller mappings for Driving controllers");
|
||||
add(ypos, "enhanced support for CDFJ+ bankswitching type");
|
||||
|
@ -72,8 +72,8 @@ WhatsNewDialog::WhatsNewDialog(OSystem& osystem, DialogContainer& parent,
|
|||
add(ypos, "added MovieCart support");
|
||||
add(ypos, "added weblinks for many games");
|
||||
}
|
||||
add(ypos, "completely reworked and enhanced the file launcher");
|
||||
add(ypos, "added option to automatically pause emulation when focus is lost");
|
||||
add(ypos, "extensively redesigned and enhanced file launcher");
|
||||
add(ypos, "added automatic emulation pause when focus is lost");
|
||||
add(ypos, "added option to toggle autofire mode");
|
||||
add(ypos, "improved controller mappings for Paddles");
|
||||
add(ypos, "improved controller mappings for Driving controllers");
|
||||
|
|
Loading…
Reference in New Issue