mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 12:32:40 +02:00
Changed the output of appletGetOperationMode/appletGetPerformanceMode to enums AppletOperationMode/ApmPerformanceMode.
This commit is contained in:
parent
71e249e6a4
commit
ae582d8cb4
@ -2270,8 +2270,8 @@ void appletHook(AppletHookCookie* cookie, AppletHookFn callback, void* param);
|
||||
void appletUnhook(AppletHookCookie* cookie);
|
||||
|
||||
/// These return state which is updated by appletMainLoop() when notifications are received.
|
||||
u8 appletGetOperationMode(void);
|
||||
u32 appletGetPerformanceMode(void);
|
||||
AppletOperationMode appletGetOperationMode(void);
|
||||
ApmPerformanceMode appletGetPerformanceMode(void);
|
||||
AppletFocusState appletGetFocusState(void);
|
||||
|
||||
Result appletSetFocusHandlingMode(AppletFocusHandlingMode mode);
|
||||
|
@ -2682,11 +2682,11 @@ Result appletGetAppletResourceUsageInfo(AppletResourceUsageInfo *info) {
|
||||
|
||||
// State / other
|
||||
|
||||
u8 appletGetOperationMode(void) {
|
||||
AppletOperationMode appletGetOperationMode(void) {
|
||||
return g_appletOperationMode;
|
||||
}
|
||||
|
||||
u32 appletGetPerformanceMode(void) {
|
||||
ApmPerformanceMode appletGetPerformanceMode(void) {
|
||||
return g_appletPerformanceMode;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user