Update PPU.regs.cs
This commit is contained in:
parent
df7a93e83a
commit
7127c130bc
|
@ -443,15 +443,15 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||||
{
|
{
|
||||||
if (ppur.status.sl < 241)
|
if (ppur.status.sl < 241)
|
||||||
{
|
{
|
||||||
if (ppur.status.cycle < 64)
|
if (ppur.status.cycle <= 64)
|
||||||
{
|
{
|
||||||
ret = 0xFF; // during this time all reads return FF
|
ret = 0xFF; // during this time all reads return FF
|
||||||
}
|
}
|
||||||
else if (ppur.status.cycle < 256)
|
else if (ppur.status.cycle <= 256)
|
||||||
{
|
{
|
||||||
ret = read_value;
|
ret = read_value;
|
||||||
}
|
}
|
||||||
else if (ppur.status.cycle < 320)
|
else if (ppur.status.cycle <= 320)
|
||||||
{
|
{
|
||||||
ret = read_value;
|
ret = read_value;
|
||||||
}
|
}
|
||||||
|
@ -815,4 +815,4 @@ namespace BizHawk.Emulation.Cores.Nintendo.NES
|
||||||
//Palette Gaps and Mirrors
|
//Palette Gaps and Mirrors
|
||||||
// 3F04h,3F08h,3F0Ch - Three general purpose 6bit data registers.
|
// 3F04h,3F08h,3F0Ch - Three general purpose 6bit data registers.
|
||||||
// 3F10h,3F14h,3F18h,3F1Ch - Mirrors of 3F00h,3F04h,3F08h,3F0Ch.
|
// 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