mirror of
https://github.com/dborth/snes9xgx.git
synced 2025-01-24 09:01:13 +01:00
This commit is contained in:
parent
04e0cabb22
commit
46b39c5e3f
@ -208,8 +208,11 @@ WindowPrompt(const char *title, const char *msg, const char *btn1Label, const ch
|
|||||||
mainWindow->SetState(STATE_DISABLED);
|
mainWindow->SetState(STATE_DISABLED);
|
||||||
mainWindow->Append(&promptWindow);
|
mainWindow->Append(&promptWindow);
|
||||||
mainWindow->ChangeFocus(&promptWindow);
|
mainWindow->ChangeFocus(&promptWindow);
|
||||||
|
if(btn2Label)
|
||||||
|
{
|
||||||
btn1.ResetState();
|
btn1.ResetState();
|
||||||
btn2.SetState(STATE_SELECTED);
|
btn2.SetState(STATE_SELECTED);
|
||||||
|
}
|
||||||
ResumeGui();
|
ResumeGui();
|
||||||
|
|
||||||
while(choice == -1)
|
while(choice == -1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user