diff --git a/src/platform/sdl/main.c b/src/platform/sdl/main.c index 542275611..b161fa9fe 100644 --- a/src/platform/sdl/main.c +++ b/src/platform/sdl/main.c @@ -98,7 +98,7 @@ int main(int argc, char** argv) { } renderer.events.bindings = &inputMap; - GBASDLInitindings(&inputMap); + GBASDLInitBindings(&inputMap); GBASDLInitEvents(&renderer.events); GBASDLEventsLoadConfig(&renderer.events, &config.configTable); // TODO: Don't use this directly diff --git a/src/platform/sdl/sdl-events.c b/src/platform/sdl/sdl-events.c index 328ff5632..18786d9fe 100644 --- a/src/platform/sdl/sdl-events.c +++ b/src/platform/sdl/sdl-events.c @@ -29,7 +29,7 @@ bool GBASDLInitEvents(struct GBASDLEvents* context) { return true; } -void GBASDLInitindings(struct GBAInputMap* inputMap) { +void GBASDLInitBindings(struct GBAInputMap* inputMap) { #if SDL_VERSION_ATLEAST(2, 0, 0) GBAInputBindKey(inputMap, SDL_BINDING_KEY, SDL_SCANCODE_X, GBA_KEY_A); GBAInputBindKey(inputMap, SDL_BINDING_KEY, SDL_SCANCODE_Z, GBA_KEY_B); diff --git a/src/platform/sdl/sdl-events.h b/src/platform/sdl/sdl-events.h index 186b31ed5..3322f0840 100644 --- a/src/platform/sdl/sdl-events.h +++ b/src/platform/sdl/sdl-events.h @@ -26,7 +26,7 @@ struct GBASDLEvents { bool GBASDLInitEvents(struct GBASDLEvents*); void GBASDLDeinitEvents(struct GBASDLEvents*); -void GBASDLInitindings(struct GBAInputMap* inputMap); +void GBASDLInitBindings(struct GBAInputMap* inputMap); void GBASDLEventsLoadConfig(struct GBASDLEvents*, const struct Configuration*); void GBASDLHandleEvent(struct GBAThread* context, struct GBASDLEvents* sdlContext, const union SDL_Event* event);