mirror of https://github.com/mgba-emu/mgba.git
Fix GBARR not starting in SDL port
This commit is contained in:
parent
45b8ffb9cf
commit
b115cb564d
|
@ -122,7 +122,7 @@ static void _GBASDLHandleKeypress(struct GBAThread* context, struct GBASDLEvents
|
||||||
GBAThreadReset(context);
|
GBAThreadReset(context);
|
||||||
break;
|
break;
|
||||||
case SDLK_t:
|
case SDLK_t:
|
||||||
if (context->gba->rr) {
|
if (context->stateDir) {
|
||||||
GBAThreadReset(context);
|
GBAThreadReset(context);
|
||||||
GBAThreadInterrupt(context);
|
GBAThreadInterrupt(context);
|
||||||
GBARRContextCreate(context->gba);
|
GBARRContextCreate(context->gba);
|
||||||
|
@ -133,7 +133,7 @@ static void _GBASDLHandleKeypress(struct GBAThread* context, struct GBASDLEvents
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SDLK_y:
|
case SDLK_y:
|
||||||
if (context->gba->rr) {
|
if (context->stateDir) {
|
||||||
GBAThreadReset(context);
|
GBAThreadReset(context);
|
||||||
GBAThreadInterrupt(context);
|
GBAThreadInterrupt(context);
|
||||||
GBARRContextCreate(context->gba);
|
GBARRContextCreate(context->gba);
|
||||||
|
|
Loading…
Reference in New Issue