Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02138 Cheat System Minor Have not tried Aug 20, 2008, 23:31 Mar 26, 2024, 12:40
Tester Pugsy View Status Public Platform MAME (Self-compiled)
Assigned To aaron Resolution Fixed OS
Status [?] Resolved Driver
Version 0.127 Fixed in Version 0.127u1 Build Debug
Fixed in Git Commit Github Pull Request #
Summary 02138: flamegun: Debugger/Cheat System upper case cpu tag of MAIN doesn't work
Description There seems to be a case sensitive issue with the cpu tags, it effects both cheat system and debugger writes. In the zn.c driver the 'main' cpu is actually 'MAIN' and there's seems to be no way to use memory write commands regardless if MAIN or main is used.
Steps To Reproduce In the debugger, it complains with either of these commands for flamegun:-

MAIN.pb@062772=63
or
main.pb@062772=63



In the cheat system use these xml files for flamegun, both fail to parse:-

<mamecheat version="1">

<cheat desc="Infinite Credits">
<script state="run">
<action>main.pb@062772=63</action>
</script>
</cheat>

</mamecheat>

OR

<mamecheat version="1">

<cheat desc="Infinite Credits">
<script state="run">
<action>MAIN.pb@062772=63</action>
</script>
</cheat>

</mamecheat>
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems flamegun
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.02143
Pugsy
Developer
Aug 21, 2008, 05:26
A quick fix is to change all references to "MAIN" to "main" in zn.c. However the same problem may exist with other cpu tags in other drivers and whether there is an issue with having any cpu tag in UPPERCASE.
User avatar
No.02145
etabeta
Developer
Aug 21, 2008, 05:53
I confirm that an error is prompted for both main & MAIN
User avatar
No.02161
aaron
Developer
Aug 22, 2008, 02:30
FYI, there is no "debug build" only. This also fails on a release build now (prior to the fix).