[ssf2t] how to make a Breakpoint debug cheat work with xml?
Posted: Fri Aug 14, 2020 11:21 am
I have following breakpoint code.
Which means I will change 0xFF84B6 and 0xFF84B8 value when code at 0x470E (PC = 0x470E) will be excuted.
If it is made as a regular "run" cheat.
It will not work. because mame cheat engine will update the data every frame and the data is reloaded and evaluated before frame update.
I know I can modify the code near 0x470E to achieve this. But are there any easier way to go?
Code: Select all
bp 470e,,{b@ff84b6=2;b@ff84b8=1;g}
If it is made as a regular "run" cheat.
Code: Select all
<cheat desc="P1 Infinite throw range"><comment>bp 470e,,{b@ff84b6=2;b@ff84b8=1;g}</comment>
<script state="run">
<action>maincpu.pb@FF84b6=2</action>
<action>maincpu.pb@FF84b8=1</action>
</script>
</cheat>
I know I can modify the code near 0x470E to achieve this. But are there any easier way to go?