From 08e7fbf8ea5af4e8e6833668cfabdd432735160d Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Sun, 6 Sep 2015 20:14:00 +0200 Subject: [PATCH] Buildfix --- base/PCMain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/PCMain.cpp b/base/PCMain.cpp index d932d7e017..aad89d1bee 100644 --- a/base/PCMain.cpp +++ b/base/PCMain.cpp @@ -353,7 +353,7 @@ static const int legacyKeyMap[] { NKCODE_L, //JOY RIGHT }; -void SimulateGamepad(const uint8 *keys, InputState *input) { +void SimulateGamepad(const uint8_t *keys, InputState *input) { // Legacy key mapping. input->pad_buttons = 0; input->pad_lstick_x = 0; @@ -830,7 +830,7 @@ int main(int argc, char *argv[]) { } if (g_QuitRequested) break; - const uint8 *keys = SDL_GetKeyboardState(NULL); + const uint8_t *keys = SDL_GetKeyboardState(NULL); SimulateGamepad(keys, &input_state); input_state.pad_buttons = pad_buttons; UpdateInputState(&input_state, true);