Is there a way to bypass the "game not working" screen from a Lua script?
I'm trying to write a Lua script to run a series of machines for some number of frames each, then exit.
My use case is to try to automate gathering data for profile-guided optimization. If I can get an unattended MAME to run a bunch of systems for a little while, then I can get a minor speed bump for free (where "free" for me is defined as "not requiring human effort"). It'd be easy to script this up outside of MAME, but PGO data is overwritten every time the process exits. So it'd need to be one MAME process that runs many systems, instead of many MAME processes each running one system.
I realize that the dialog is meant to require human attention (e.g. there's no command line opt to skip it), but maybe the policy would be different from Lua's perspective.
I also realize that since I'm compiling MAME anyway, I could just hack the dialog out. But I'd like to see if there's a way to do it in vanilla MAME.