Opened 15 years ago
Closed 15 years ago
Last modified 15 years ago
#371 closed defect (invalid)
Error with xmame 0.100
Reported by: | anonymous | Owned by: | greg |
---|---|---|---|
Priority: | critical | Milestone: | unknown |
Component: | mythgame | Version: | 0.18.1 |
Severity: | high | Keywords: | |
Cc: | Ticket locked: | no |
Description
mythgame put "xmame version not supported" when try exec xmame -version. The problem is generated with the version of xmame is 0.100.
Change History (4)
comment:1 Changed 15 years ago by
comment:3 Changed 15 years ago by
Because the (old?) code said:
mamehandler.cpp:677: versionchk_string = (char*)malloc(3);
snprintf(versionchk_string, 3, "%s",
minor);
Which doesn't work for minor versions > 99.
Change 3s to 4s. (Or hack the binary and change the %s to 99...)
Note: See
TracTickets for help on using
tickets.
xmame 0.100 don't accept '-history_file' param