Savedata fix 1 (#17)
* [scePad] Just format code * [sceSaveData] user folder sometimes appeared in the previous folder has been fixed.
This commit is contained in:
parent
c4b4aed2c5
commit
2649857cb5
|
|
@ -400,7 +400,7 @@ public static class SaveDataExports
|
|||
{
|
||||
var configured = Environment.GetEnvironmentVariable("SHARPEMU_SAVEDATA_DIR");
|
||||
var root = string.IsNullOrWhiteSpace(configured)
|
||||
? Path.Combine(Environment.CurrentDirectory, "user", "savedata")
|
||||
? Path.Combine(AppContext.BaseDirectory, "user", "savedata")
|
||||
: configured;
|
||||
return Path.GetFullPath(root);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue