mirror of https://github.com/mgba-emu/mgba.git
SDL: Fix typo in function name
This commit is contained in:
parent
7c8401e7f8
commit
237e354636
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue