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 6a30704 commit 3630639
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -583,10 +583,10 @@ extern "C" void OnGameCrash(const char* szLibName, int sig, int code, uintptr_t
uint8_t *backupPC = GetPC(lastScriptHandle[i]);
GetPC(lastScriptHandle[i]) = lastScriptPC[i];

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

0 comments on commit 3630639

Please sign in to comment.