summaryrefslogtreecommitdiff
path: root/include/f_ap
diff options
context:
space:
mode:
authorMax Roncace <me@caseif.net>2026-01-06 07:45:15 -0500
committerGitHub <noreply@github.com>2026-01-06 04:45:15 -0800
commitfd863582d657bb2c70f7ac73d5f534c6b0be7aa6 (patch)
treeadf9a30b0fe674c718918ee058154ecdbe84e133 /include/f_ap
parent3679e7abab82df6447f7b55aa472b5b9c8062fb0 (diff)
f_pc mostly linked for Wii/Shield (#3015)
Diffstat (limited to 'include/f_ap')
-rw-r--r--include/f_ap/f_ap_game.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/f_ap/f_ap_game.h b/include/f_ap/f_ap_game.h
index 360b4c5a07..ee0635d11e 100644
--- a/include/f_ap/f_ap_game.h
+++ b/include/f_ap/f_ap_game.h
@@ -22,11 +22,10 @@ public:
#endif
virtual ~fapGm_HIO_c();
- #if DEBUG
static void startCpuTimer();
static void stopCpuTimer(const char*);
static void printCpuTimer(const char*);
- static void executeCaptureScreen();
+ static void executeCaptureScreen() {}
static void createCaptureScreen() {
mCaptureScreen = new CaptureScreen(JFWDisplay::getManager());
@@ -34,7 +33,11 @@ public:
}
static bool isCaptureScreen() {
+#if DEBUG
return mCaptureScreenFlag;
+#else
+ return false;
+#endif
}
static void onCpuTimer() {
@@ -50,9 +53,7 @@ public:
static u8 getCaptureScreenDivH() { return mCaptureScreenDivH; }
static u8 getCaptureScreenDivV() { return mCaptureScreenDivV; }
- #endif
- #if DEBUG
static u8 m_CpuTimerOn;
static u8 m_CpuTimerOff;
static u8 m_CpuTimerStart;
@@ -72,7 +73,6 @@ public:
static u8 mCaptureScreenDivH;
static u8 mCaptureScreenDivV;
- #endif
/* 0x04 */ s8 field_0x04;
/* 0x05 */ u8 field_0x03[3];