1
0
forked from MeloNX/MeloNX

Game update path fix

This commit is contained in:
Daniil Vinogradov 2025-02-16 15:07:14 +01:00
parent 2a7cfa5650
commit 361d5a03e1
2 changed files with 3 additions and 3 deletions

View File

@ -183,7 +183,7 @@ struct UpdateManagerSheet: View {
jsonDict["selected"] = ""
selectedItem = ""
} else {
jsonDict["selected"] = newSelection
jsonDict["selected"] = "updates/\(newSelection)"
selectedItem = newSelection
}

View File

@ -752,7 +752,7 @@ namespace Ryujinx.Headless.SDL2
if (File.Exists(titleUpdateMetadataPath))
{
string updatePathRelative = JsonHelper.DeserializeFromFile(titleUpdateMetadataPath, _titleSerializerContext.TitleUpdateMetadata).Selected;
updatePath = Path.Combine(AppDataManager.BaseDirPath, "updates", updatePathRelative);
updatePath = Path.Combine(AppDataManager.BaseDirPath, updatePathRelative);
if (File.Exists(updatePath))
{