winport - add some kind of hack to exit the emulator better whenever a lua script is running
This commit is contained in:
parent
0406828da2
commit
d6babce9b7
|
@ -1800,6 +1800,8 @@ class WinDriver : public BaseDriver
|
|||
|
||||
CheckMessages();
|
||||
|
||||
if(finished) ExitProcess(0); //I guess.... fixes hangs when exiting while a lua script is running
|
||||
|
||||
if(!romloaded)
|
||||
return ESTEP_DONE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue