mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-09-27 12:56:12 +00:00
show that suspend/resume are happening
This commit is contained in:
parent
fd51162ede
commit
d8b01ac7ad
6
bios.cpp
6
bios.cpp
@ -214,11 +214,17 @@ bool BIOS::runUntilDone()
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case ACT_SUSPEND:
|
case ACT_SUSPEND:
|
||||||
|
g_display->clrScr();
|
||||||
|
g_display->drawString(M_SELECTED, 80, 100,"Suspending VM...");
|
||||||
|
g_display->flush();
|
||||||
// CPU is already suspended, so this is safe...
|
// CPU is already suspended, so this is safe...
|
||||||
((AppleVM *)g_vm)->Suspend("suspend.vm");
|
((AppleVM *)g_vm)->Suspend("suspend.vm");
|
||||||
break;
|
break;
|
||||||
case ACT_RESTORE:
|
case ACT_RESTORE:
|
||||||
// CPU is already suspended, so this is safe...
|
// CPU is already suspended, so this is safe...
|
||||||
|
g_display->clrScr();
|
||||||
|
g_display->drawString(M_SELECTED, 80, 100,"Resuming VM...");
|
||||||
|
g_display->flush();
|
||||||
((AppleVM *)g_vm)->Resume("suspend.vm");
|
((AppleVM *)g_vm)->Resume("suspend.vm");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user