mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-26 20:59:00 +00:00
DIRECTOR: Process '@' in file path conversion
This commit is contained in:
parent
1d70ed4d24
commit
1395a8b4e5
@ -246,7 +246,7 @@ Common::String convertPath(Common::String &path) {
|
||||
if (path.empty())
|
||||
return path;
|
||||
|
||||
if (!path.contains(':') && !path.contains('/') && !path.contains('\\')) {
|
||||
if (!path.contains(':') && !path.contains('/') && !path.contains('\\') && !path.contains('@')) {
|
||||
return path;
|
||||
}
|
||||
|
||||
@ -256,6 +256,9 @@ Common::String convertPath(Common::String &path) {
|
||||
if (path.hasPrefix("::")) {
|
||||
res = "..\\";
|
||||
idx = 2;
|
||||
} else if (path.hasPrefix("@:")) {
|
||||
res = ".\\";
|
||||
idx = 2;
|
||||
} else {
|
||||
res = ".\\";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user