From 127d4b2d200dae3174dc4739e7375292ad85c4ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Fri, 22 Nov 2013 13:19:32 +0100 Subject: [PATCH] SDL buildfixing --- base/NKCodeFromSDL.h | 2 ++ base/PCMain.cpp | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/base/NKCodeFromSDL.h b/base/NKCodeFromSDL.h index 672e617ac0..d3b2b6a434 100644 --- a/base/NKCodeFromSDL.h +++ b/base/NKCodeFromSDL.h @@ -1,3 +1,5 @@ +#pragma once + #include "util/const_map.h" #include diff --git a/base/PCMain.cpp b/base/PCMain.cpp index ee48d56b74..be053b32b8 100644 --- a/base/PCMain.cpp +++ b/base/PCMain.cpp @@ -580,7 +580,8 @@ int main(int argc, char *argv[]) { } break; default: - joystick->processInput(ev) + joystick->ProcessInput(event); + break; } }