mirror of
https://github.com/Ragora/T2-CPP.git
synced 2026-01-19 18:14:44 +00:00
Fixed the memPatch generator
Fixed the memPatch generator with smaller than 0x10000000 addresses.
This commit is contained in:
parent
3a55528fb5
commit
8a9330cd87
|
|
@ -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…
Reference in a new issue