all repos — mgba @ 4fa1ad7ce0cb410a677bccdb5ea63c3edc353bf8

mGBA Game Boy Advance Emulator

SDL: Fix typo
Jeffrey Pfau jeffrey@endrift.com
Wed, 18 Mar 2015 23:41:54 -0700
commit

4fa1ad7ce0cb410a677bccdb5ea63c3edc353bf8

parent

e0ff8e43712d59fe53f7cfa53e8e9cd3c3e06072

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

jump to
M src/platform/sdl/sdl-events.csrc/platform/sdl/sdl-events.c

@@ -116,7 +116,7 @@

static void _GBASDLHandleKeypress(struct GBAThread* context, struct GBASDLEvents* sdlContext, const struct SDL_KeyboardEvent* event) { enum GBAKey key = GBA_KEY_NONE; if (!event->keysym.mod) { -#if !defined(BUILD_PANORA) && SDL_VERSION_ATLEAST(2, 0, 0) +#if !defined(BUILD_PANDORA) && SDL_VERSION_ATLEAST(2, 0, 0) key = GBAInputMapKey(sdlContext->bindings, SDL_BINDING_KEY, event->keysym.scancode); #else key = GBAInputMapKey(sdlContext->bindings, SDL_BINDING_KEY, event->keysym.sym);