1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 18:10:56 +09:00

UserspaceEmulator: Don't exit the emulation loop on "RET" :^)

This commit is contained in:
Andreas Kling 2020-07-11 17:13:15 +02:00
parent 4d366b8b24
commit dc66d70369
Notes: sideshowbarker 2024-07-19 04:57:11 +09:00

View file

@ -131,10 +131,6 @@ int Emulator::exec()
auto insn = X86::Instruction::from_stream(m_cpu, true, true);
out() << (const void*)base_eip << " \033[33;1m" << insn.to_string(base_eip) << "\033[0m";
// FIXME: Remove this hack once it's no longer needed :^)
if (insn.mnemonic() == "RET")
break;
(m_cpu.*insn.handler())(insn);
m_cpu.dump();
}