From f082e3d81d1044e96bbc405c4f28e7afa3326ef2 Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Mon, 20 Nov 2017 10:02:17 +0300 Subject: [PATCH] Using ALT-F4 when running an unsaved cart will emit a tone #355 --- src/studio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/studio.c b/src/studio.c index 84f8819..fe5d6f6 100644 --- a/src/studio.c +++ b/src/studio.c @@ -887,7 +887,8 @@ void setCursor(SDL_SystemCursor id) void hideDialog() { - setStudioMode(studio.dialogMode); + studio.tic->api.resume(studio.tic); + studio.mode = TIC_RUN_MODE; } void showDialog(const char** text, s32 rows, DialogCallback callback, void* data)