ignore start() if emulator already started
can happen on android
This commit is contained in:
parent
401c402afc
commit
20f9450218
|
@ -770,6 +770,8 @@ void Emulator::run()
|
||||||
|
|
||||||
void Emulator::start()
|
void Emulator::start()
|
||||||
{
|
{
|
||||||
|
if (state == Running)
|
||||||
|
return;
|
||||||
verify(state == Loaded);
|
verify(state == Loaded);
|
||||||
state = Running;
|
state = Running;
|
||||||
SetMemoryHandlers();
|
SetMemoryHandlers();
|
||||||
|
|
Loading…
Reference in New Issue