summaryrefslogtreecommitdiff
path: root/include/f_ap
diff options
context:
space:
mode:
Diffstat (limited to 'include/f_ap')
-rw-r--r--include/f_ap/f_ap_game.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/include/f_ap/f_ap_game.h b/include/f_ap/f_ap_game.h
index a7dfe8c9b9..c4320f6b26 100644
--- a/include/f_ap/f_ap_game.h
+++ b/include/f_ap/f_ap_game.h
@@ -18,7 +18,7 @@ public:
/* 0x10 */ f32 field_0x10;
/* 0x14 */ bool mUsingHostIO;
/* 0x15 */ bool mDisplayMeter;
- /* 0x16 */ bool mDisplayPrint;
+ /* 0x16 */ u8 mDisplayPrint;
/* 0x17 */ bool mDisplay2D;
/* 0x18 */ bool mDisplayParticle;
/* 0x19 */ bool mDisplayProcessID;
@@ -41,4 +41,14 @@ public:
extern fapGm_HIO_c g_HIO;
+inline bool fapGmHIO_isMenu() {
+ return g_HIO.mDisplayPrint & 2;
+}
+inline bool fapGmHIO_isPrint() {
+ return g_HIO.mDisplayPrint & 1;
+}
+inline bool fapGmHIO_getMeter() {
+ return g_HIO.mDisplayMeter;
+}
+
#endif /* F_AP_F_AP_GAME_H */