Skip to content

Commit

Permalink
Update main.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
RusJJ authored Apr 4, 2024
1 parent e662b34 commit 18648e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,8 @@ extern "C" void OnGameCrash(const char* szLibName, int sig, int code, uintptr_t

for(int i = 0; i < 32; ++i)
{
snprintf(buf, sizeof(buf), "i = %d, byte = %02X", i, Read1Byte(lastScriptHandle));
uint8_t datByte = Read1Byte(lastScriptHandle);
snprintf(buf, sizeof(buf), "i = %d, byte = %02X (%c)", i, datByte, (char)datByte);
cleo->PrintToCleoLog(buf);
}
GetPC(lastScriptHandle) = lastScriptPC;
Expand Down

0 comments on commit 18648e8

Please sign in to comment.