From 94fb0dc2207e2efa004e19a171013bf321a0a05a Mon Sep 17 00:00:00 2001 From: nakeee Date: Sun, 4 Jan 2009 22:58:20 +0000 Subject: Somethin' git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1777 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/InputCommon/Src/InputCommon.cpp | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) (limited to 'Source/Core/InputCommon/Src/InputCommon.cpp') 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; + } } -- cgit v1.2.3