SDL: Fix typo in function name
Jeffrey Pfau jeffrey@endrift.com
Sun, 09 Nov 2014 16:07:56 -0800
3 files changed,
3 insertions(+),
3 deletions(-)
M
src/platform/sdl/main.c
→
src/platform/sdl/main.c
@@ -98,7 +98,7 @@ context.audioBuffers = renderer.audio.samples * 2;
} renderer.events.bindings = &inputMap; - GBASDLInitindings(&inputMap); + GBASDLInitBindings(&inputMap); GBASDLInitEvents(&renderer.events); GBASDLEventsLoadConfig(&renderer.events, &config.configTable); // TODO: Don't use this directly
M
src/platform/sdl/sdl-events.c
→
src/platform/sdl/sdl-events.c
@@ -29,7 +29,7 @@ #endif
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);
M
src/platform/sdl/sdl-events.h
→
src/platform/sdl/sdl-events.h
@@ -26,7 +26,7 @@
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);