News
Ultimarc
Emu Loader
Programming
MAME Artwork
progetto-SNAPS
MAMEUI
HBMAME
EmuChat
Hardware
The Loony Bin
MAME Artwork X
Entrance
|
Main Index
|
Search
|
New user
|
Login
|
Who's Online
|
FAQ
|
Rules
MAMEWorld
>>
EmuChat
Previous
Index
Next
Flat
krick
Get Fuzzy
Reged: 02/09/04
Posts: 4235
Send PM
Re: When MAME fails to load a game...
10/01/13 05:08 PM
Reply
I think you can just check the return value of the MAME exe. Zero should be a normal exit, and non-zero should be an error.
Historically (in DOS), return values shouldn't be negative, but I don't know if MAME follows that convention.
http://en.wikipedia.org/wiki/Exit_status
http://stackoverflow.com/questions/33487...ws-command-line
Make sure to read the comments and the other solutions.
GroovyMAME support forum on BYOAC
Edited by krick (10/01/13 05:11 PM)
Entire thread
Subject
Posted by
Posted on
When MAME fails to load a game...
Elaphe
09/30/13 11:19 PM
Re: When MAME fails to load a game...
redk9258
10/01/13 12:08 AM
Re: When MAME fails to load a game...
Elaphe
10/01/13 02:21 PM
Re: When MAME fails to load a game...
krick
10/01/13 05:08 PM
Re: When MAME fails to load a game...
Elaphe
10/01/13 09:30 PM
Extra information
Permissions
Moderator:
Robbbert
,
Tafoid
0 registered and 124 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 2030
Browser Test
|
Delete Cookies
atom-guru
atom-guru
atom-guru
atom-guru
UBB.threads™ 6.3.2