fix fix for iceweasel

This commit is contained in:
overflowerror 2013-07-21 10:56:44 +02:00
parent 4b0d7fd1ca
commit 4a3f033087

View file

@ -37,14 +37,14 @@ BIOS.main = function() {
Emulator.output("\033[31msystem halt\033[0m"); Emulator.output("\033[31msystem halt\033[0m");
console.log("BIOS: remove all event handlers"); console.log("BIOS: remove all event handlers");
Emulator.interrupts = new Array(); Emulator.interrupts = new Array();
Emulator.unregisterTimer(this.tickid); Emulator.unregisterTimer(BIOS.tickid);
return; return;
} }
if (BIOSs.hdds.length > 1) { if (BIOSs.hdds.length > 1) {
Emulator.output("\nPlease select booting device by pressing the device nr. "); Emulator.output("\nPlease select booting device by pressing the device nr. ");
this.state = 0; BIOS.state = 0;
} else { } else {
this.state = 1; BIOS.state = 1;
} }
} }
BIOS.key = function(keycode) { BIOS.key = function(keycode) {