=== cheat3.c === - Added cheat_get_xml_attribute_int() to return a value from attribute. Only difference from xml_get_attribute_int() is default format is 'hex', not 'dec' though.
It is very important for me that which value is returned, 'hex' or 'dec'. Sometimes I fail with unexpected error due to 'dec' value after load a code. In many cases, default format for a value is 'hex' (game program code, debugger expression etc).
- Refined cheat_function (structure) to function_entry (class). But it causes "invalid parameter" via execute_function() in express.c so that I can confirm read a data from file but can't test it...
Also I try searching a memory for Heavy Unit on debugger search system but it's very hard. Credit and Life are stored in Mermeid directly and I can't see the contents of memory for this device. It uses specified handler to access a value and not mapped standard device so that the debug search and expression can't read/write directly. In addition, different routine is done between Master and Slave CPU (especially, collision check) and some routines are done even in banked region (it's hard to trace due to different code in the same address. Anyway, I finish searching/creating some code though it's enough to test the game. The emulation seems to be very good. I can see the ending without any crash/freeze/reset problem.
[ATTACHED IMAGE - CLICK FOR FULL SIZE]
"Any company has no power to stop people emulating"
MAME is the emulator of no giving in the pressure from any company even if they don't allow
|