Common: Cleanup some Path constructions.
This commit is contained in:
parent
2a9170a2ea
commit
d376e67f87
13 changed files with 21 additions and 22 deletions
|
@ -676,7 +676,7 @@ void InitSysDirectories() {
|
|||
INFO_LOG(COMMON, "Memstick directory not present, creating at '%s'", g_Config.memStickDirectory.c_str());
|
||||
}
|
||||
|
||||
Path testFile = Path(g_Config.memStickDirectory) / "_writable_test.$$$";
|
||||
Path testFile = g_Config.memStickDirectory / "_writable_test.$$$";
|
||||
|
||||
// If any directory is read-only, fall back to the Documents directory.
|
||||
// We're screwed anyway if we can't write to Documents, or can't detect it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue