ffgriever
Joined: 27 Oct 2007 Posts: 13
|
Posted: Thu Nov 29, 2007 9:46 am Post subject: Small ps2link fix |
|
|
ps2link/ee/cmdHandler.c
function pkoDumpMem
You forgot to increase pointer, so it writes the same 16kB over and over (if user specified to get more than 16kB that means).
IMO, just change:
memcpy(dataBuffer, (void *)offset, len);
to:
memcpy(dataBuffer, (void *)(offset+total), len);
Or increase the offset just as you do in pkoWriteMem. |
|