Fix exit to shell not working

This commit is contained in:
elasota
2020-11-30 03:18:09 -05:00
parent 553e343abe
commit cab862ed8b
5 changed files with 31 additions and 5 deletions

View File

@@ -11,6 +11,7 @@
#include "PLPasStr.h"
#include "PLResources.h"
#include "PLSound.h"
#include "PLSysCalls.h"
#include "PLTimeTaggedVOSEvent.h"
#include "QDPixMap.h"
#include "BitmapImage.h"
@@ -114,9 +115,7 @@ void RedAlert (short errorNumber)
// CenterAlert(rDeathAlertID);
dummyInt = PortabilityLayer::DialogManager::GetInstance()->DisplayAlert(rDeathAlertID, &substitutions);
//ExitToShell();
PL_NotYetImplemented_TODO("Exit");
PLSysCalls::Exit(-1);
}
//-------------------------------------------------------------- CreateOffScreenBitMap