Mapper 191 - Fix bug in read/write PPU, also assign Sugoro Quest - Dice no Senshitachi (Ch) to mapper 191
This commit is contained in:
parent
97d3be6eef
commit
5de27799c0
|
@ -92,7 +92,7 @@ sha1:EA6093FF3B4C7425B792223742DF5C76A657EF08 B Columbus - Ougon no Yoake (Ch) N
|
|||
sha1:B367506A7249865DEDB59AFF9B4CE593B3913F0C G Columbus - Ougon no Yoake (Ch) NES board=MAPPER195;VRAM=2;
|
||||
sha1:78EC827CEE61E009F7716ADE03361369FFCE9D12 G Luo Ke Ren X (Sugoro Quest - Dice no Senshitachi) (Ch) NES board=MAPPER195;VRAM=4
|
||||
sha1:568BF236FB3085B8BD522FBD2C18C7831E3A2DD1 G Q Boy (Sachen) NES board=SACHEN-8259A;VRAM=8
|
||||
|
||||
sha1:2FA9EF6B8E5C7E1D215F4FF69C6275BDE00DDE76 O Sugoro Quest - Dice no Senshitachi (Ch) [o1] NES board=MAPPER191
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;-----------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -28,7 +28,11 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
|
||||
public override byte ReadPPU(int addr)
|
||||
{
|
||||
if (addr > 0x2000) return base.ReadPPU(addr);
|
||||
if (addr >= 0x2000)
|
||||
{
|
||||
return base.ReadPPU(addr);
|
||||
}
|
||||
|
||||
int bank_1k = Get_CHRBank_1K(addr);
|
||||
if (bank_1k.Bit(7))
|
||||
{
|
||||
|
@ -40,7 +44,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
|
||||
public override void WritePPU(int addr, byte value)
|
||||
{
|
||||
if (addr > 0x2000) base.WritePPU(addr,value);
|
||||
if (addr >= 0x2000)
|
||||
{
|
||||
base.WritePPU(addr, value);
|
||||
return;
|
||||
}
|
||||
|
||||
int bank_1k = Get_CHRBank_1K(addr);
|
||||
if (bank_1k.Bit(7))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue