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

@@ -5,6 +5,7 @@
#include "WindowManager.h"
#include "PLDrivers.h"
#include "PLSysCalls.h"
int gpAppMain();
void gpAppInit();
@@ -30,7 +31,7 @@ void GpAppInterfaceImpl::ApplicationInit()
int GpAppInterfaceImpl::ApplicationMain()
{
return gpAppMain();
return PLSysCalls::MainExitWrapper(gpAppMain);
}
void GpAppInterfaceImpl::PL_IncrementTickCounter(uint32_t count)