mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-07-13 02:25:01 +02: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