mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 13:30:02 +00:00
Merge pull request #5655 from unknownbrackets/perf
Eat cycles in sceUtilitySavedataGetStatus()
This commit is contained in:
commit
d8f5dfb529
@ -145,11 +145,13 @@ int sceUtilitySavedataGetStatus()
|
||||
if (currentDialogType != UTILITY_DIALOG_SAVEDATA)
|
||||
{
|
||||
DEBUG_LOG(SCEUTILITY, "sceUtilitySavedataGetStatus(): wrong dialog type");
|
||||
hleEatCycles(200);
|
||||
return SCE_ERROR_UTILITY_WRONG_TYPE;
|
||||
}
|
||||
|
||||
int status = saveDialog.GetStatus();
|
||||
DEBUG_LOG(SCEUTILITY, "%08x=sceUtilitySavedataGetStatus()", status);
|
||||
hleEatCycles(200);
|
||||
return status;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user