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; } }