aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wii/osystem.h
diff options
context:
space:
mode:
authorAndre Heider2008-06-07 15:37:17 +0000
committerAndre Heider2008-06-07 15:37:17 +0000
commit1217f0a42be87138a2d375bd78b50b880b2bdcab (patch)
treed4cf33968969c930d276268c385f80fe8e22d6d3 /backends/platform/wii/osystem.h
parentf6a1a89d04810fc453db81becd6ab67f84be51b1 (diff)
downloadscummvm-rg350-1217f0a42be87138a2d375bd78b50b880b2bdcab.tar.gz
scummvm-rg350-1217f0a42be87138a2d375bd78b50b880b2bdcab.tar.bz2
scummvm-rg350-1217f0a42be87138a2d375bd78b50b880b2bdcab.zip
added support for reset and power buttons
svn-id: r32593
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();