Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
00117 Crash/Freeze Critical (emulator) Have not tried Jan 22, 2008, 06:52 Jan 22, 2008, 06:52
Tester AWJ View Status Public Platform SDLMAME
Assigned To Resolution Fixed OS Windows XP/Vista 64-bit
Status [?] Resolved Driver
Version 0.118 Fixed in Version 0.122u4 Build Debug
Fixed in Git Commit Github Pull Request #
Summary 00117: Address entry in cheat system
Description Attempting to enter an address into the cheat system (either when editing a cheat or when editing a watchpoint) doesn't work, and on my system it actually locks MAME up completely the moment I press the Enter key (the lockup is probably either SDLMAME-specific or 64-bit-specific--I checked on IRC with someone running mainline on Windows and for him it doesn't lock up, it merely doesn't work).

Follow-up by telomerex: The following code on line 966 in cheat.c goes into an infinite loop:
    while(input_code_poll_switches(TRUE) != INPUT_CODE_INVALID) ;
I can't figure out why this even needs to be in a while loop. Changing that line to the following stops the lockups and now everything seems to work fine:
    input_code_poll_switches(TRUE);
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
0
There are no notes attached to this issue.