Fix GBARR not starting in SDL port

This commit is contained in:
Jeffrey Pfau 2014-07-27 18:22:53 -07:00
parent 45b8ffb9cf
commit b115cb564d
1 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ static void _GBASDLHandleKeypress(struct GBAThread* context, struct GBASDLEvents
GBAThreadReset(context);
break;
case SDLK_t:
if (context->gba->rr) {
if (context->stateDir) {
GBAThreadReset(context);
GBAThreadInterrupt(context);
GBARRContextCreate(context->gba);
@ -133,7 +133,7 @@ static void _GBASDLHandleKeypress(struct GBAThread* context, struct GBASDLEvents
}
break;
case SDLK_y:
if (context->gba->rr) {
if (context->stateDir) {
GBAThreadReset(context);
GBAThreadInterrupt(context);
GBARRContextCreate(context->gba);