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);
|
||||
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);
|
||||
|
|
Loading…
Reference in New Issue