Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
Correct encoding of hex string
Browse files Browse the repository at this point in the history
  • Loading branch information
root670 committed Jun 17, 2016
1 parent cdc3e5b commit 7059fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion startgame.c
Expand Up @@ -145,7 +145,7 @@ void startgameExecute(char *path)
FlushCache(0); // data cache
FlushCache(2); // instruction cache

sprintf(syscallHookAddr, "%X", syscallHook);
sprintf(syscallHookAddr, "0x%X", syscallHook);
char *argv[3] = {boot2, syscallHookAddr, "\0"};

ExecPS2((void *)eh->entry, 0, 3, argv);
Expand Down

0 comments on commit 7059fa8

Please sign in to comment.