GBHawk: GPU Viewer get updates correctly
This commit is contained in:
parent
4563c0449c
commit
3e4ebb0dbd
|
@ -62,6 +62,12 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
|
||||
do_frame();
|
||||
|
||||
if (_scanlineCallback != null)
|
||||
{
|
||||
GetGPU();
|
||||
_scanlineCallback(ppu.LCDC);
|
||||
}
|
||||
|
||||
if (_islag)
|
||||
{
|
||||
_lagcount++;
|
||||
|
|
|
@ -227,6 +227,7 @@ namespace BizHawk.Emulation.Cores.Nintendo.GBHawk
|
|||
{
|
||||
if (Core._scanlineCallback != null)
|
||||
{
|
||||
Core.GetGPU();
|
||||
Core._scanlineCallback(LCDC);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue