GBHawk: GPU Viewer get updates correctly

This commit is contained in:
alyosha-tas 2017-11-25 22:02:04 -05:00
parent 4563c0449c
commit 3e4ebb0dbd
2 changed files with 7 additions and 0 deletions

View File

@ -62,6 +62,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
do_frame();
if (_scanlineCallback != null)
{
GetGPU();
_scanlineCallback(ppu.LCDC);
}
if (_islag)
{
_lagcount++;

View File

@ -227,6 +227,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
{
if (Core._scanlineCallback != null)
{
Core.GetGPU();
Core._scanlineCallback(LCDC);
}
}