Update PPU.regs.cs
This commit is contained in:
parent
19b38bfd90
commit
fe66504e2f
|
@ -424,15 +424,15 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
{
|
||||
if (ppur.status.sl < 241)
|
||||
{
|
||||
if (ppur.status.cycle < 64)
|
||||
if (ppur.status.cycle <= 64)
|
||||
{
|
||||
ret = 0xFF; // during this time all reads return FF
|
||||
}
|
||||
else if (ppur.status.cycle < 256)
|
||||
else if (ppur.status.cycle <= 256)
|
||||
{
|
||||
ret = read_value;
|
||||
}
|
||||
else if (ppur.status.cycle < 320)
|
||||
else if (ppur.status.cycle <= 320)
|
||||
{
|
||||
ret = read_value;
|
||||
}
|
||||
|
@ -795,4 +795,4 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
|||
//Palette Gaps and Mirrors
|
||||
// 3F04h,3F08h,3F0Ch - Three general purpose 6bit data registers.
|
||||
// 3F10h,3F14h,3F18h,3F1Ch - Mirrors of 3F00h,3F04h,3F08h,3F0Ch.
|
||||
// 3F20h-3FFFh - Mirrors of 3F00h-3F1Fh.
|
||||
// 3F20h-3FFFh - Mirrors of 3F00h-3F1Fh.
|
||||
|
|
Loading…
Reference in New Issue