Flush disk IO on backgrounding

This commit is contained in:
Aaron Culliney 2015-12-11 23:42:57 -08:00
parent 05cb322feb
commit 651ac246e3

View File

@ -210,6 +210,10 @@ void Java_org_deadc0de_apple2ix_Apple2Activity_nativeEmulationPause(JNIEnv *env,
if (appState != APP_RUNNING) {
return;
}
disk6_flush(0);
disk6_flush(1);
if (cpu_isPaused()) {
return;
}