Set msgdialog result to 0 after displayed.

This might fix anything checking the result code without zeroing it first.
This commit is contained in:
Unknown W. Brackets 2014-01-22 08:18:15 -08:00
parent f74e29977f
commit 278359b208

View file

@ -278,7 +278,8 @@ int PSPMsgDialog::Update(int animSpeed)
lastButtons = buttons;
}
Memory::Memcpy(messageDialogAddr,&messageDialog,messageDialog.common.size);
messageDialog.result = 0;
Memory::Memcpy(messageDialogAddr, &messageDialog ,messageDialog.common.size);
return 0;
}