Add foreground management imports to coreinit

This commit is contained in:
shinyquagsire23 2016-07-27 00:39:25 -07:00
parent 8faf7c7f38
commit f4151dd9c1
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,27 @@
#pragma once
#include <wut.h>
/**
* \defgroup coreinit_foreground Foreground Management
* \ingroup coreinit
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
void
OSEnableForegroundExit();
void
OSReleaseForeground();
void
OSSavesDone_ReadyToRelease();
#ifdef __cplusplus
}
#endif
/** @} */

View File

@ -152,6 +152,11 @@ EXPORT(FSSetPosFileAsync);
EXPORT(FSGetVolumeState);
EXPORT(FSGetLastErrorCodeForViewer);
// coreinit/foreground.h
EXPORT(OSEnableForegroundExit);
EXPORT(OSReleaseForeground);
EXPORT(OSSavesDone_ReadyToRelease);
// coreinit/frameheap.h
EXPORT(MEMCreateFrmHeapEx);
EXPORT(MEMDestroyFrmHeap);