mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-03-07 22:40:27 +00:00
Fixed the memPatch generator
Fixed the memPatch generator with smaller than 0x10000000 addresses.
This commit is contained in:
parent
3a55528fb5
commit
8a9330cd87
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ const char* congetServPAddr(Linker::SimObject *obj, S32 argc, const char *argv[]
|
|||
char test[256] = "";
|
||||
char test2[256]="";
|
||||
int spr=(signed int)*serverProcessReplacement;
|
||||
sprintf(test,"B8%8XFFD089EC5DC3",endian(spr));
|
||||
sprintf(test,"B8%08XFFD089EC5DC3",endian(spr));
|
||||
test2[0]=test[6];
|
||||
test2[1]=test[7];
|
||||
test2[2]=test[4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue