Update mapper 79
This commit is contained in:
@@ -35,19 +35,18 @@ static void Sync(void) {
|
||||
}
|
||||
|
||||
static DECLFW(M79Write) {
|
||||
if ((A < 0x8000) && ((A ^ 0x4100) == 0)) {
|
||||
if (A & 0x100) {
|
||||
preg = (V >> 3) & 1;
|
||||
creg = V & 7;
|
||||
Sync();
|
||||
}
|
||||
creg = V & 7;
|
||||
Sync();
|
||||
}
|
||||
|
||||
static void M79Power(void) {
|
||||
preg = ~0;
|
||||
preg = 0;
|
||||
Sync();
|
||||
SetWriteHandler(0x4100, 0x5FFF, M79Write);
|
||||
SetWriteHandler(0x8000, 0xFFFF, M79Write);
|
||||
SetReadHandler(0x8000, 0xFFFF, CartBR);
|
||||
SetWriteHandler(0x4100, 0x5FFF, M79Write);
|
||||
}
|
||||
|
||||
static void StateRestore(int version) {
|
||||
|
||||
@@ -378,7 +378,8 @@
|
||||
|
||||
{0x19C1ED51, 150, -1}, /* Poker III (Asia) (Ja) (Unl).nes */
|
||||
{0x282745C5, 141, -1}, /* Q Boy (Asia) (Ja) (Unl).nes */
|
||||
{0x4B9ECFB2, 21, -1}, /* Wai Wai World 2 - SOS!! Paseri Jou (Japan) (Virtual Console).nes */
|
||||
{0x4B9ECFB2, 21, -1}, /* Wai Wai World 2 - SOS!! Paseri Jou (Japan) (Virtual Console).nes */
|
||||
{0x33751782, 4, -1}, /* Zoda's Revenge - StarTropics II (USA, Europe) (Virtual Console).nes */
|
||||
|
||||
/* TXC / Sachen / JoyVan */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user