mirror of
https://github.com/JorjBauer/aiie.git
synced 2024-12-27 14:30:22 +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;
|
||||
|
||||
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...
|
||||
((AppleVM *)g_vm)->Suspend("suspend.vm");
|
||||
break;
|
||||
case ACT_RESTORE:
|
||||
// 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");
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user