Minor
This commit is contained in:
parent
5325856849
commit
b2636bcf87
|
@ -1231,13 +1231,8 @@
|
|||
{
|
||||
var biosfile = DEBUG ? "seabios-debug.bin" : "seabios.bin";
|
||||
var vgabiosfile = DEBUG ? "vgabios-debug.bin" : "vgabios.bin";
|
||||
//var biosfile = DEBUG ? "seabios-ultradebug.bin" : "seabios.bin";
|
||||
//var vgabiosfile = DEBUG ? "vgabios-ultradebug.bin" : "vgabios.bin";
|
||||
}
|
||||
|
||||
//var biosfile = "seabios-qemu.bin";
|
||||
//var vgabiosfile = "vgabios-qemu.bin";
|
||||
|
||||
var bios;
|
||||
var vga_bios;
|
||||
|
||||
|
@ -1308,7 +1303,7 @@
|
|||
const text = print_stats.stats_to_string(emulator.v86.cpu);
|
||||
panel.textContent = text;
|
||||
|
||||
CLEAR_STATS && emulator.v86.cpu.wm.exports["_profiler_init"]();
|
||||
CLEAR_STATS && emulator.v86.cpu.clear_opstats();
|
||||
}, CLEAR_STATS ? 5000 : 1000);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -201,6 +201,7 @@ function CPU(bus, wm)
|
|||
CPU.prototype.clear_opstats = function()
|
||||
{
|
||||
new Uint8Array(this.wasm_memory.buffer, 0x8000, 0x20000).fill(0);
|
||||
this.wm.exports["profiler_init"]();
|
||||
};
|
||||
|
||||
CPU.prototype.wasmgen_get_module_code = function()
|
||||
|
@ -263,7 +264,6 @@ CPU.prototype.wasm_patch = function(wm)
|
|||
this.update_eflags = get_import("update_eflags");
|
||||
|
||||
this.trigger_gp = get_import("trigger_gp");
|
||||
this.trigger_ud = get_import("trigger_ud");
|
||||
this.trigger_np = get_import("trigger_np");
|
||||
this.trigger_ss = get_import("trigger_ss");
|
||||
|
||||
|
|
Loading…
Reference in a new issue