Remove get_regs_short in non-debug mode

This commit is contained in:
Fabian 2022-07-21 22:35:30 +09:00
parent f33c7ca70b
commit c8540d1113

View file

@ -133,6 +133,8 @@ CPU.prototype.debug_init = function()
function get_regs_short()
{
if(!DEBUG) return;
var
r32 = { "eax": REG_EAX, "ecx": REG_ECX, "edx": REG_EDX, "ebx": REG_EBX,
"esp": REG_ESP, "ebp": REG_EBP, "esi": REG_ESI, "edi": REG_EDI },