From 1217f0a42be87138a2d375bd78b50b880b2bdcab Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sat, 7 Jun 2008 15:37:17 +0000 Subject: added support for reset and power buttons svn-id: r32593 --- backends/platform/wii/osystem.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'backends/platform/wii/osystem.h') 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 #include +#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(); -- cgit v1.2.3