From 9be8fc6c6917bbca50b0d55ec75614aa71995fa9 Mon Sep 17 00:00:00 2001 From: shenweip <1037567878@qq.com> Date: Sat, 4 Jan 2020 11:14:32 +0800 Subject: [PATCH] Oops. --- Core/HLE/sceUmd.cpp | 2 +- Core/PSPLoaders.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Core/HLE/sceUmd.cpp b/Core/HLE/sceUmd.cpp index 3ebbaef092..ab2d62a490 100644 --- a/Core/HLE/sceUmd.cpp +++ b/Core/HLE/sceUmd.cpp @@ -497,7 +497,7 @@ static u32 sceUmdGetErrorStat() void __UmdReplace(std::string filepath) { std::string error = ""; if (!UmdReplace(filepath, error)) { - ERROR_LOG(SCEIO, "UMD Replace failed: %s", error); + ERROR_LOG(SCEIO, "UMD Replace failed: %s", error.c_str()); return; } diff --git a/Core/PSPLoaders.cpp b/Core/PSPLoaders.cpp index 1f1425fe2c..6311485f7f 100644 --- a/Core/PSPLoaders.cpp +++ b/Core/PSPLoaders.cpp @@ -165,10 +165,10 @@ bool ReInitMemoryForGameISO(FileLoader *fileLoader) { blockSystem = new ISOBlockSystem(iso); } - pspFileSystem.Remount("umd0:", blockSystem); - pspFileSystem.Remount("umd1:", blockSystem); - pspFileSystem.Remount("umd:", blockSystem); - pspFileSystem.Remount("disc0:", fileSystem); + pspFileSystem.Remount("umd0:", blockSystem); + pspFileSystem.Remount("umd1:", blockSystem); + pspFileSystem.Remount("umd:", blockSystem); + pspFileSystem.Remount("disc0:", fileSystem); return true; }