ignore start() if emulator already started

can happen on android
This commit is contained in:
Flyinghead 2022-10-19 10:06:53 +02:00
parent 401c402afc
commit 20f9450218
1 changed files with 2 additions and 0 deletions

View File

@ -770,6 +770,8 @@ void Emulator::run()
void Emulator::start()
{
if (state == Running)
return;
verify(state == Loaded);
state = Running;
SetMemoryHandlers();