diff --git a/Common/File/Path.cpp b/Common/File/Path.cpp index d0bda53328..ba3372e78a 100644 --- a/Common/File/Path.cpp +++ b/Common/File/Path.cpp @@ -258,8 +258,13 @@ std::wstring Path::ToWString() const { std::string Path::ToVisualString() const { if (type_ == PathType::CONTENT_URI) { return AndroidContentURI(path_).ToVisualString(); +#if PPSSPP_PLATFORM(WINDOWS) + } else if (type_ == PathType::NATIVE) { + return ReplaceAll(path_, "/", "\\"); +#endif + } else { + return path_; } - return path_; } bool Path::CanNavigateUp() const { diff --git a/Core/TextureReplacer.cpp b/Core/TextureReplacer.cpp index c0b965e9b1..4544fdcd72 100644 --- a/Core/TextureReplacer.cpp +++ b/Core/TextureReplacer.cpp @@ -573,7 +573,7 @@ public: if (png.warning_or_error >= 2) { ERROR_LOG(COMMON, "Saving screenshot to PNG produced errors."); } else if (success) { - NOTICE_LOG(G3D, "Saving texture for replacement: %08x / %dx%d", replacedInfoHash, w, h); + NOTICE_LOG(G3D, "Saving texture for replacement: %08x / %dx%d in '%s'", replacedInfoHash, w, h, saveFilename.ToVisualString().c_str()); } } };