all repos — mgba @ b115cb564d8a3058303ec9a91aaf9696b09071f5

mGBA Game Boy Advance Emulator

Fix GBARR not starting in SDL port
Jeffrey Pfau jeffrey@endrift.com
Sun, 27 Jul 2014 18:22:53 -0700
commit

b115cb564d8a3058303ec9a91aaf9696b09071f5

parent

45b8ffb9cfae7dc1e44756cdd0192fb8978bdf3d

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

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

@@ -122,7 +122,7 @@ case SDLK_r:

GBAThreadReset(context); break; case SDLK_t: - if (context->gba->rr) { + if (context->stateDir) { GBAThreadReset(context); GBAThreadInterrupt(context); GBARRContextCreate(context->gba);

@@ -133,7 +133,7 @@ GBAThreadContinue(context);

} break; case SDLK_y: - if (context->gba->rr) { + if (context->stateDir) { GBAThreadReset(context); GBAThreadInterrupt(context); GBARRContextCreate(context->gba);