mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Savedata doesn't always resched, add some errcodes.
This commit is contained in:
1 parent
8aeaedc597
commit
74302a9ecf
2 files changed
+8
-2
No files matched your search
@@ -379,7 +379,7 @@ int PSPSaveDialog::Update()
|
||||
|
||||
if (status != SCE_UTILITY_STATUS_RUNNING)
|
||||
{
|
||||
return 0;
|
||||
return SCE_ERROR_UTILITY_INVALID_STATUS;
|
||||
}
|
||||
|
||||
if (!param.GetPspParam()) {
|
||||
@@ -798,6 +798,9 @@ int PSPSaveDialog::Update()
|
||||
|
||||
int PSPSaveDialog::Shutdown()
|
||||
{
|
||||
if (status != SCE_UTILITY_STATUS_FINISHED)
|
||||
return SCE_ERROR_UTILITY_INVALID_STATUS;
|
||||
|
||||
PSPDialog::Shutdown();
|
||||
param.SetPspParam(0);
|
||||
|
||||
|
||||
Reference in new issue
Block a user