mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Display paths with backslashes on Windows. Show texture path when saving.
This commit is contained in:
parent
b5e5f780f2
commit
f2e0f7611c
2 changed files with 7 additions and 2 deletions
|
@ -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 {
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue