all repos — mgba @ 237e35463648243e7b31ea132fb14e4d7a445f0e

mGBA Game Boy Advance Emulator

SDL: Fix typo in function name
Jeffrey Pfau jeffrey@endrift.com
Sun, 09 Nov 2014 16:07:56 -0800
commit

237e35463648243e7b31ea132fb14e4d7a445f0e

parent

7c8401e7f89266f2666aa297853e563baaa7d3de

3 files changed, 3 insertions(+), 3 deletions(-)

jump to
M src/platform/sdl/main.csrc/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.csrc/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.hsrc/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);