mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Dialog: Lock volatile on thread.
This means it doesn't matter if GetStatus is called.
This commit is contained in:
1 parent
429b4594d0
commit
90f4098b3d
2 files changed
+8
No files matched your search
@@ -97,6 +97,8 @@ void PSPDialog::FinishVolatile() {
|
||||
int PSPDialog::FinishInit() {
|
||||
if (ReadStatus() != SCE_UTILITY_STATUS_INITIALIZE)
|
||||
return -1;
|
||||
// The thread already locked.
|
||||
volatileLocked_ = true;
|
||||
ChangeStatus(SCE_UTILITY_STATUS_RUNNING, 0);
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user