mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-31 08:21:03 +00:00
Fix printing
This commit is contained in:
@@ -907,7 +907,7 @@ void windows_emulator::setup_hooks()
|
||||
{
|
||||
const auto ip = this->emu().read_instruction_pointer();
|
||||
|
||||
printf("Invalid instruction at: 0x%" PRIu64 "\n", ip);
|
||||
this->log.print(color::gray, "Invalid instruction at: 0x%" PRIu64 "\n", ip);
|
||||
|
||||
return instruction_hook_continuation::skip_instruction;
|
||||
});
|
||||
@@ -921,7 +921,7 @@ void windows_emulator::setup_hooks()
|
||||
}
|
||||
|
||||
const auto rip = this->emu().read_instruction_pointer();
|
||||
printf("Interrupt: %i 0x%" PRIu64 "\n", interrupt, rip);
|
||||
this->log.print(color::gray, "Interrupt: %i 0x%" PRIu64 "\n", interrupt, rip);
|
||||
|
||||
if (this->fuzzing || true) // TODO: Fix
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user