Skip to content

Commit

Permalink
More logging
Browse files Browse the repository at this point in the history
  • Loading branch information
momo5502 committed Sep 20, 2024
1 parent a84e176 commit 7e082da
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sample/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,11 @@ namespace
}
catch (...)
{
printf("Emulation failed at: 0x%llX\n", win_emu.emu().read_instruction_pointer());
win_emu.logger.print(color::red, "Emulation failed at: 0x%llX\n", win_emu.emu().read_instruction_pointer());
throw;
}

win_emu.logger.print(color::red, "Emulation terminated!");
}

void run(std::string_view application)
Expand Down

0 comments on commit 7e082da

Please sign in to comment.