mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-02 13:20:36 +00:00
Merge pull request #7540 from zackhow/land
Android: don't try to pause emulation when not running
This commit is contained in:
commit
0d00e6225b
@ -146,7 +146,8 @@ public final class EmulationFragment extends Fragment implements SurfaceHolder.C
|
|||||||
directoryStateReceiver = null;
|
directoryStateReceiver = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
mEmulationState.pause();
|
if (mEmulationState.isRunning())
|
||||||
|
mEmulationState.pause();
|
||||||
super.onPause();
|
super.onPause();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user