From 4a3f03308736235c446899b5c938c42f7d0937af Mon Sep 17 00:00:00 2001 From: overflowerror Date: Sun, 21 Jul 2013 10:56:44 +0200 Subject: [PATCH] fix fix for iceweasel --- BIOS.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BIOS.js b/BIOS.js index c67d7bb..00a5692 100644 --- a/BIOS.js +++ b/BIOS.js @@ -37,14 +37,14 @@ BIOS.main = function() { Emulator.output("\033[31msystem halt\033[0m"); console.log("BIOS: remove all event handlers"); Emulator.interrupts = new Array(); - Emulator.unregisterTimer(this.tickid); + Emulator.unregisterTimer(BIOS.tickid); return; } if (BIOSs.hdds.length > 1) { Emulator.output("\nPlease select booting device by pressing the device nr. "); - this.state = 0; + BIOS.state = 0; } else { - this.state = 1; + BIOS.state = 1; } } BIOS.key = function(keycode) {