MAMEWorld >> EmuChat
View all threads Index   Flat Mode Flat  

Frontend freak!
Reged: 09/21/03
Posts: 5484
Loc: Brazil
Send PM
Re: Mame minimizing
04/21/17 08:43 PM


When I play a game it suddenly minimizes, and plays on with sound, like something is stealing focus.

Emu Loader is not the one doing it. The frontend doesn't steal focus while the emulator is running.
You can check the "RunProcess()" function in EL's source code (uMain.pas file). You'll see that this function enters in an endless loop, waiting for the emulator to be
closed by the user. I followed the implementation rules recommended by Microsoft.

This exec code 3221225786 is a result of termination of app by "Ctrl+C":
Here's what I found:


-1073741510 The application terminated as a result of a CTRL+C. Indicates that the application has been terminated either by user's keyboard input CTRL+C or CTRL+Break or closing command prompt window.


The lose focus is probably caused by a program running in the background.
It might also be caused by a corrupt mame.exe. Where did you get the new MAME ? Always get new MAME builds from for safety.

I have a similar weird error code if MSI Afterburner is running while trying to run MAME. MAME crashes and game doesn't run...
Closing that app and running the emulator again, MAME work without errors.

Emu Loader uses WinAPI CreateProcessW() to execute mame.exe with full path. Its implementation is compatible even with Windows 10.
Please make sure to enable Run Game Confirmation Dialog in frontend's main menu and check the full command line that will run.

Also, make sure to uncheck all checkboxes of Hide Command Prompt Box in preferences screen, General tab.

What programs do you have running in the background ? Since you disabled the anti-virus, it's not the one causing problems with MAME.

Emu Loader
Ciro Alfredo Consentino
EmuCon Home:
MCM Plus:

Edited by CiroConsentino (04/21/17 08:46 PM)

Entire thread
Subject Posted by Posted on
* Mame minimizing erling1000 04/21/17 05:58 PM
. * Re: Mame minimizing krick  04/29/17 08:02 PM
. * Re: Mame minimizing MooglyGuy  04/21/17 06:23 PM
. * Re: Mame minimizing erling1000  04/21/17 07:11 PM
. * Re: Mame minimizing B2K24  04/21/17 07:55 PM
. * Re: Mame minimizing CiroConsentino  04/21/17 08:43 PM
. * Re: Mame minimizing erling1000  04/29/17 12:33 PM
. * Re: Mame minimizing Envisaged0ne  04/29/17 05:59 PM

Extra information Permissions
Moderator:  redk9258, URherenow, Tafoid 
0 registered and 31 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1046