forked from MeloNX/MeloNX
Game update path fix
This commit is contained in:
parent
2a7cfa5650
commit
361d5a03e1
@ -183,7 +183,7 @@ struct UpdateManagerSheet: View {
|
|||||||
jsonDict["selected"] = ""
|
jsonDict["selected"] = ""
|
||||||
selectedItem = ""
|
selectedItem = ""
|
||||||
} else {
|
} else {
|
||||||
jsonDict["selected"] = newSelection
|
jsonDict["selected"] = "updates/\(newSelection)"
|
||||||
selectedItem = newSelection
|
selectedItem = newSelection
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -752,7 +752,7 @@ namespace Ryujinx.Headless.SDL2
|
|||||||
if (File.Exists(titleUpdateMetadataPath))
|
if (File.Exists(titleUpdateMetadataPath))
|
||||||
{
|
{
|
||||||
string updatePathRelative = JsonHelper.DeserializeFromFile(titleUpdateMetadataPath, _titleSerializerContext.TitleUpdateMetadata).Selected;
|
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))
|
if (File.Exists(updatePath))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user