mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
overlays: hotfix for return_code lifetime
This commit is contained in:
parent
2885c8a4ab
commit
ae14aa991d
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ error_code open_msg_dialog(bool is_blocking, u32 type, vm::cptr<char> msgString,
|
|||
|
||||
const auto res = manager->create<rsx::overlays::message_dialog>()->show(is_blocking, msgString.get_ptr(), _type, [callback, userData, &return_code, is_blocking, ¬ify](s32 status)
|
||||
{
|
||||
if (return_code)
|
||||
if (is_blocking && return_code)
|
||||
{
|
||||
*return_code = status;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue