SDL: Fix typo in function name

This commit is contained in:
Jeffrey Pfau 2014-11-09 16:07:56 -08:00
parent 7c8401e7f8
commit 237e354636
3 changed files with 3 additions and 3 deletions

View File

@ -98,7 +98,7 @@ int main(int argc, char** argv) {
} }
renderer.events.bindings = &inputMap; renderer.events.bindings = &inputMap;
GBASDLInitindings(&inputMap); GBASDLInitBindings(&inputMap);
GBASDLInitEvents(&renderer.events); GBASDLInitEvents(&renderer.events);
GBASDLEventsLoadConfig(&renderer.events, &config.configTable); // TODO: Don't use this directly GBASDLEventsLoadConfig(&renderer.events, &config.configTable); // TODO: Don't use this directly

View File

@ -29,7 +29,7 @@ bool GBASDLInitEvents(struct GBASDLEvents* context) {
return true; return true;
} }
void GBASDLInitindings(struct GBAInputMap* inputMap) { void GBASDLInitBindings(struct GBAInputMap* inputMap) {
#if SDL_VERSION_ATLEAST(2, 0, 0) #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_X, GBA_KEY_A);
GBAInputBindKey(inputMap, SDL_BINDING_KEY, SDL_SCANCODE_Z, GBA_KEY_B); GBAInputBindKey(inputMap, SDL_BINDING_KEY, SDL_SCANCODE_Z, GBA_KEY_B);

View File

@ -26,7 +26,7 @@ struct GBASDLEvents {
bool GBASDLInitEvents(struct GBASDLEvents*); bool GBASDLInitEvents(struct GBASDLEvents*);
void GBASDLDeinitEvents(struct GBASDLEvents*); void GBASDLDeinitEvents(struct GBASDLEvents*);
void GBASDLInitindings(struct GBAInputMap* inputMap); void GBASDLInitBindings(struct GBAInputMap* inputMap);
void GBASDLEventsLoadConfig(struct GBASDLEvents*, const struct Configuration*); void GBASDLEventsLoadConfig(struct GBASDLEvents*, const struct Configuration*);
void GBASDLHandleEvent(struct GBAThread* context, struct GBASDLEvents* sdlContext, const union SDL_Event* event); void GBASDLHandleEvent(struct GBAThread* context, struct GBASDLEvents* sdlContext, const union SDL_Event* event);