mirror of
https://github.com/izzy2lost/ppsspp.git
synced 2026-03-10 12:43:04 -07:00
UI: Resolve symlinks when adding things to recent.
See #11131. This also normalizes paths, captialization, etc. as necessary.
This commit is contained in:
@@ -44,7 +44,7 @@ VirtualDiscFileSystem::VirtualDiscFileSystem(IHandleAllocator *_hAlloc, std::str
|
||||
: basePath(_basePath),currentBlockIndex(0) {
|
||||
|
||||
#ifdef _WIN32
|
||||
if (!endsWith(basePath, "\\"))
|
||||
if (!endsWith(basePath, "\\") && !endsWith(basePath, "/"))
|
||||
basePath = basePath + "\\";
|
||||
#else
|
||||
if (!endsWith(basePath, "/"))
|
||||
|
||||
Reference in New Issue
Block a user