From 458f8cfac3cd3b76322b577b2d98b748c695de02 Mon Sep 17 00:00:00 2001 From: shenweip <1037567878@qq.com> Date: Thu, 2 Jan 2020 16:45:01 +0800 Subject: [PATCH] minor fix --- Core/HLE/sceUmd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Core/HLE/sceUmd.cpp b/Core/HLE/sceUmd.cpp index 2f61e739ec..dcdfd88d93 100644 --- a/Core/HLE/sceUmd.cpp +++ b/Core/HLE/sceUmd.cpp @@ -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