Using ALT-F4 when running an unsaved cart will emit a tone #355
This commit is contained in:
parent
f082e3d81d
commit
0adc04df19
|
@ -887,8 +887,12 @@ void setCursor(SDL_SystemCursor id)
|
||||||
|
|
||||||
void hideDialog()
|
void hideDialog()
|
||||||
{
|
{
|
||||||
studio.tic->api.resume(studio.tic);
|
if(studio.dialogMode == TIC_RUN_MODE)
|
||||||
studio.mode = TIC_RUN_MODE;
|
{
|
||||||
|
studio.tic->api.resume(studio.tic);
|
||||||
|
studio.mode = TIC_RUN_MODE;
|
||||||
|
}
|
||||||
|
else setStudioMode(studio.dialogMode);
|
||||||
}
|
}
|
||||||
|
|
||||||
void showDialog(const char** text, s32 rows, DialogCallback callback, void* data)
|
void showDialog(const char** text, s32 rows, DialogCallback callback, void* data)
|
||||||
|
|
Loading…
Reference in New Issue