From 46b3c9c7e0e073393f215821a666f3b0578cf907 Mon Sep 17 00:00:00 2001 From: James Benton Date: Fri, 2 Jun 2017 11:41:54 +0100 Subject: [PATCH] coreinit: Add OSEnableHomeButtonMenuhome button menu and OSIsHomeButtonMenuEnabled. --- include/coreinit/systeminfo.h | 6 ++++++ src/rpl/coreinit/exports.h | 2 ++ 2 files changed, 8 insertions(+) diff --git a/include/coreinit/systeminfo.h b/include/coreinit/systeminfo.h index 00c7ab9..73a2f33 100644 --- a/include/coreinit/systeminfo.h +++ b/include/coreinit/systeminfo.h @@ -28,6 +28,12 @@ CHECK_SIZE(OSSystemInfo, 0x20); OSSystemInfo * OSGetSystemInfo(); +BOOL +OSEnableHomeButtonMenu(BOOL enable); + +BOOL +OSIsHomeButtonMenuEnabled(); + #ifdef __cplusplus } #endif diff --git a/src/rpl/coreinit/exports.h b/src/rpl/coreinit/exports.h index 7924a07..e55fb97 100644 --- a/src/rpl/coreinit/exports.h +++ b/src/rpl/coreinit/exports.h @@ -314,6 +314,8 @@ EXPORT(OSUninterruptibleSpinLock_Release); // coreinit/systeminfo.h EXPORT(OSGetSystemInfo); +EXPORT(OSEnableHomeButtonMenu); +EXPORT(OSIsHomeButtonMenuEnabled); // coreinit/taskqueue.h EXPORT(MPInitTaskQ);