mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Set msgdialog result to 0 after displayed.
This might fix anything checking the result code without zeroing it first.
This commit is contained in:
parent
f74e29977f
commit
278359b208
1 changed files with 2 additions and 1 deletions
|
@ -278,6 +278,7 @@ int PSPMsgDialog::Update(int animSpeed)
|
||||||
lastButtons = buttons;
|
lastButtons = buttons;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
messageDialog.result = 0;
|
||||||
Memory::Memcpy(messageDialogAddr, &messageDialog ,messageDialog.common.size);
|
Memory::Memcpy(messageDialogAddr, &messageDialog ,messageDialog.common.size);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue