I want to write a Hex value in a file.
I already made a function to hex modify a file, and I use this code to write in a precious offset:
Code: Select all
int pos = sceIoLseek(fd, 0x46A8, SEEK_SET);
sceIoWrite(fd, i1, sizeof(i1));
I need to modfy the hex value of the offset and not the ASCII one.
Please, could anyone help me? :(
EDIT: the Hex value that i would to write in the offset is "08".