mirror of
https://github.com/wiiu-env/wut.git
synced 2025-01-07 12:08:15 +01:00
Add foreground management imports to coreinit
This commit is contained in:
parent
8faf7c7f38
commit
f4151dd9c1
27
include/coreinit/foreground.h
Normal file
27
include/coreinit/foreground.h
Normal 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
|
||||||
|
|
||||||
|
/** @} */
|
@ -152,6 +152,11 @@ EXPORT(FSSetPosFileAsync);
|
|||||||
EXPORT(FSGetVolumeState);
|
EXPORT(FSGetVolumeState);
|
||||||
EXPORT(FSGetLastErrorCodeForViewer);
|
EXPORT(FSGetLastErrorCodeForViewer);
|
||||||
|
|
||||||
|
// coreinit/foreground.h
|
||||||
|
EXPORT(OSEnableForegroundExit);
|
||||||
|
EXPORT(OSReleaseForeground);
|
||||||
|
EXPORT(OSSavesDone_ReadyToRelease);
|
||||||
|
|
||||||
// coreinit/frameheap.h
|
// coreinit/frameheap.h
|
||||||
EXPORT(MEMCreateFrmHeapEx);
|
EXPORT(MEMCreateFrmHeapEx);
|
||||||
EXPORT(MEMDestroyFrmHeap);
|
EXPORT(MEMDestroyFrmHeap);
|
||||||
|
Loading…
Reference in New Issue
Block a user