Merge pull request #5655 from unknownbrackets/perf

Eat cycles in sceUtilitySavedataGetStatus()
This commit is contained in:
Henrik Rydgård 2014-03-15 09:44:10 +01:00
commit d8f5dfb529

View File

@ -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;
}