GBHawk: GBC ppu work, change to halt timing
This commit is contained in:
parent
f2bcabb10f
commit
0fad2495d1
|
@ -396,11 +396,22 @@ namespace BizHawk.Emulation.Common.Components.LR35902
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cur_instr = new ushort[]
|
if (is_GBC)
|
||||||
{HALT_CHK,
|
{
|
||||||
IDLE,
|
cur_instr = new ushort[]
|
||||||
IDLE,
|
{IDLE,
|
||||||
|
IDLE,
|
||||||
|
HALT_CHK,
|
||||||
HALT, 0 };
|
HALT, 0 };
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cur_instr = new ushort[]
|
||||||
|
{HALT_CHK,
|
||||||
|
IDLE,
|
||||||
|
IDLE,
|
||||||
|
HALT, 0 };
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -405,7 +405,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
||||||
// also the LCD doesn't turn on right away
|
// also the LCD doesn't turn on right away
|
||||||
// also, the LCD does not enter mode 2 on scanline 0 when first turned on
|
// also, the LCD does not enter mode 2 on scanline 0 when first turned on
|
||||||
no_scan = true;
|
no_scan = true;
|
||||||
cycle = 6;
|
cycle = 8;
|
||||||
}
|
}
|
||||||
|
|
||||||
// the VBL stat is continuously asserted
|
// the VBL stat is continuously asserted
|
||||||
|
|
Loading…
Reference in New Issue