View Single Post
Old 05-26-2014, 12:41 PM   #116
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,592
Karma: 79436940
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Code:
<Patch>
patch_name = `Custom left & right margins`
patch_enable = `yes`
# Values for replace
replace_int = FE673C, 02, 02
replace_int = FE6740, 04, 03
replace_int = FE6744, 06, 04
replace_int = FE6748, 08, 05
replace_int = FE674C, 10, 06
replace_int = FE6750, 12, 07
replace_int = FE6754, 14, 08
replace_int = FE6758, 16, 09
</Patch>
I think is what you need. The first value Fe673c is the location in the file being patched, the second 02 is the OLD value, and the third 02 is the new value.

So all I have done is shift the replacement values up by 1
PeterT is offline   Reply With Quote