diff options
Diffstat (limited to 'cpu.js')
-rw-r--r-- | cpu.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1061,8 +1061,8 @@ function CPU(nes) { // * ??? * // ******* - this.nes.isRunning = false; - alert("Game crashed, invalid opcode at address $"+opaddr.toString(16)); + this.nes.stop(); + this.nes.crashMessage = "Game crashed, invalid opcode at address $"+opaddr.toString(16); break; } |