all repos — mgba @ 35412145fced2a665f88e0adecd98c209d76b4d7

mGBA Game Boy Advance Emulator

SDL: Remove code for entering RR modes
Jeffrey Pfau jeffrey@endrift.com
Sun, 07 Dec 2014 04:44:08 -0800
commit

35412145fced2a665f88e0adecd98c209d76b4d7

parent

9299b75be58826ea21ea63212f38b0ea6b5fed94

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

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

@@ -167,31 +167,6 @@ break;

case SDLK_r: GBAThreadReset(context); break; - case SDLK_t: - if (context->stateDir) { - GBAThreadInterrupt(context); - GBARRContextCreate(context->gba); - if (!GBARRIsRecording(context->gba->rr)) { - GBARRStopPlaying(context->gba->rr); - GBARRInitStream(context->gba->rr, context->stateDir); - GBARRReinitStream(context->gba->rr, INIT_EX_NIHILO); - GBARRStartRecording(context->gba->rr); - GBARRSaveState(context->gba); - } - GBAThreadContinue(context); - } - break; - case SDLK_y: - if (context->stateDir) { - GBAThreadInterrupt(context); - GBARRContextCreate(context->gba); - GBARRStopRecording(context->gba->rr); - GBARRInitStream(context->gba->rr, context->stateDir); - GBARRStartPlaying(context->gba->rr, false); - GBARRLoadState(context->gba); - GBAThreadContinue(context); - } - break; default: break; }