mirror of
https://github.com/par274/sharpemu.git
synced 2026-07-14 12:56:14 +08:00
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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user