Don't create UI files in the save path

This commit is contained in:
Alex Barney 2019-10-30 17:33:25 -05:00
commit 909f39e49e
2 changed files with 4 additions and 0 deletions

View file

@ -382,6 +382,8 @@ namespace Ryujinx.UI
private static string[] GetPlayedData(string TitleId, string UserId) private static string[] GetPlayedData(string TitleId, string UserId)
{ {
return new string[] { "Unknown", "Unknown" };
try try
{ {
string[] playedData = new string[2]; string[] playedData = new string[2];

View file

@ -307,6 +307,8 @@ namespace Ryujinx.UI
DiscordClient.SetPresence(DiscordPresence); DiscordClient.SetPresence(DiscordPresence);
} }
return;
try try
{ {
string savePath = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "RyuFS", "nand", "user", "save", "0000000000000000", _userId, _device.System.TitleID); string savePath = System.IO.Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "RyuFS", "nand", "user", "save", "0000000000000000", _userId, _device.System.TitleID);