View Single Post
Old 06 January 2019, 14:21   #45
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
Tiny update: multiple [patch] sections are now supported, "name" field added (name of patch/trainer). Some logging while parsing also added.

EDIT: multiple "data" strings are also now supported inside single section, for example:

[patch]
name=Test patch #1

data=200e46802d400026200c6602 ; blah
offset=2
eaoffset=0
replacedata=1234
replaceoffset=4

data=11223344556677889900
offset=10

Next "data" = new "hidden" section starts.
Replacedata = copy data in replacedata over found data + offset. This makes "physical" patch instead of letting memwatch point system to change/freeze the data.

Last edited by Toni Wilen; 07 January 2019 at 17:43.
Toni Wilen is online now  
 
Page generated in 0.09766 seconds with 11 queries