aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/wii/osystem.h')
-rw-r--r--backends/platform/wii/osystem.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/backends/platform/wii/osystem.h b/backends/platform/wii/osystem.h
index f65310bada..2a168fd0b7 100644
--- a/backends/platform/wii/osystem.h
+++ b/backends/platform/wii/osystem.h
@@ -37,6 +37,17 @@
#include <gccore.h>
#include <ogcsys.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern bool reset_btn_pressed;
+extern bool power_btn_pressed;
+
+#ifdef __cplusplus
+}
+#endif
+
class OSystem_Wii : public OSystem {
private:
s64 _startup_time;
@@ -69,6 +80,8 @@ private:
u8 _mouseKeyColor;
u8 *_mouseCursor;
+ bool _event_quit;
+
u32 _lastPadCheck;
void initGfx();