mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
BizHawkClient: Add SGB to systems using explicit vblank callback (#2593)
This commit is contained in:
@@ -585,7 +585,7 @@ else
|
|||||||
-- misaligned, so for GB and GBC we explicitly set the callback on
|
-- misaligned, so for GB and GBC we explicitly set the callback on
|
||||||
-- vblank instead.
|
-- vblank instead.
|
||||||
-- https://github.com/TASEmulators/BizHawk/issues/3711
|
-- https://github.com/TASEmulators/BizHawk/issues/3711
|
||||||
if emu.getsystemid() == "GB" or emu.getsystemid() == "GBC" then
|
if emu.getsystemid() == "GB" or emu.getsystemid() == "GBC" or emu.getsystemid() == "SGB" then
|
||||||
event.onmemoryexecute(tick, 0x40, "tick", "System Bus")
|
event.onmemoryexecute(tick, 0x40, "tick", "System Bus")
|
||||||
else
|
else
|
||||||
event.onframeend(tick)
|
event.onframeend(tick)
|
||||||
|
Reference in New Issue
Block a user