notaz.gp2x.de
/
fceu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
snd fix
[fceu.git]
/
mappers
/
77.c
diff --git
a/mappers/77.c
b/mappers/77.c
index
e9d0015
..
e3c0e52
100644
(file)
--- a/
mappers/77.c
+++ b/
mappers/77.c
@@
-27,16
+27,18
@@
static DECLFW(Mapper77_write)
mapbyte1[0]=V;
ROM_BANK32(V&0x7);
VROM_BANK2(0x0000, (V&0xf0)>>4);
mapbyte1[0]=V;
ROM_BANK32(V&0x7);
VROM_BANK2(0x0000, (V&0xf0)>>4);
+ X6502_Rebase();
}
static void Mapper77_StateRestore(int version)
{
int x;
}
static void Mapper77_StateRestore(int version)
{
int x;
-
+
if(version>=72)
{
ROM_BANK32(mapbyte1[0]&0x7);
VROM_BANK2(0x0000, (mapbyte1[0]&0xf0)>>4);
if(version>=72)
{
ROM_BANK32(mapbyte1[0]&0x7);
VROM_BANK2(0x0000, (mapbyte1[0]&0xf0)>>4);
+ X6502_Rebase();
}
for(x=2;x<8;x++)
VRAM_BANK1(x*0x400,x);
}
for(x=2;x<8;x++)
VRAM_BANK1(x*0x400,x);