summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/InputCommon.cpp
diff options
context:
space:
mode:
authornakeee <nakeee@gmail.com>2009-01-04 22:58:20 +0000
committernakeee <nakeee@gmail.com>2009-01-04 22:58:20 +0000
commit94fb0dc2207e2efa004e19a171013bf321a0a05a (patch)
tree2aad3fde49e6d6b95eda81ba0e00097cf8939cdb /Source/Core/InputCommon/Src/InputCommon.cpp
parentb2e96e1ca5b2a2e3b56e8d2a9eae665040ec05fb (diff)
Somethin'
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1777 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/InputCommon/Src/InputCommon.cpp')
-rw-r--r--Source/Core/InputCommon/Src/InputCommon.cpp22
1 files changed, 9 insertions, 13 deletions
diff --git a/Source/Core/InputCommon/Src/InputCommon.cpp b/Source/Core/InputCommon/Src/InputCommon.cpp
index 9d1c1910d3..2d2188477d 100644
--- a/Source/Core/InputCommon/Src/InputCommon.cpp
+++ b/Source/Core/InputCommon/Src/InputCommon.cpp
@@ -4,17 +4,13 @@ EventHandler *eventHandler = NULL;
namespace InputCommon
{
- void Init()
- {
-#if defined GLTEST && GLTEST
- // init the event handler
- eventHandler = new EventHandler();
-#endif
- }
-
- void Shutdown()
- {
- if (eventHandler)
- delete eventHandler;
- }
+ void Init() {
+ // init the event handler
+ eventHandler = new EventHandler();
+ }
+
+ void Shutdown() {
+ if (eventHandler)
+ delete eventHandler;
+ }
}