mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2025-02-27 13:29:32 +00:00
vcs: fixed Javatari.room.console.onBreakpointHit is not a function
This commit is contained in:
parent
4dfef4ca22
commit
df742e5297
@ -85,7 +85,7 @@ class VCSPlatform extends BasePlatform {
|
||||
self.probe.logNewFrame();
|
||||
this.oldClockPulse();
|
||||
// look for KIL instruction
|
||||
if (Javatari.room.console.getCPUState().o == 0x02) {
|
||||
if (Javatari.room.console.getCPUState().o == 0x02 && Javatari.room.console.onBreakpointHit != null) {
|
||||
Javatari.room.console.onBreakpointHit(Javatari.room.console.saveState());
|
||||
//throw new EmuHalt("CPU STOPPED"); // TODO: requires browser reload
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user