minor fix

This commit is contained in:
shenweip 2020-01-02 16:45:01 +08:00
parent 28bfc4c05d
commit 458f8cfac3

View File

@ -496,8 +496,10 @@ static u32 sceUmdGetErrorStat()
void __UmdReplace(std::string filepath) {
char *error = "";
if (!UmdReplace(filepath, error))
if (!UmdReplace(filepath, error)) {
ERROR_LOG(SCEIO, "UMD Replace failed: %s", error);
return;
}
UMDInserted = false;
CoreTiming::ScheduleEvent(usToCycles(200*1000), umdInsertChangeEvent, 0); // Wait sceUmdCheckMedium call