GBHawk: GBC ppu work, change to halt timing

This commit is contained in:
alyosha-tas 2018-12-16 13:02:14 -06:00
parent f2bcabb10f
commit 0fad2495d1
2 changed files with 16 additions and 5 deletions

View File

@ -396,11 +396,22 @@ namespace BizHawk.Emulation.Common.Components.LR35902
}
else
{
cur_instr = new ushort[]
{HALT_CHK,
IDLE,
IDLE,
if (is_GBC)
{
cur_instr = new ushort[]
{IDLE,
IDLE,
HALT_CHK,
HALT, 0 };
}
else
{
cur_instr = new ushort[]
{HALT_CHK,
IDLE,
IDLE,
HALT, 0 };
}
}
}

View File

@ -405,7 +405,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
// also the LCD doesn't turn on right away
// also, the LCD does not enter mode 2 on scanline 0 when first turned on
no_scan = true;
cycle = 6;
cycle = 8;
}
// the VBL stat is continuously asserted