Updated LoadAndSaveMetadata to return Optional type (but for real this time)

- fixed a typo i found
- awaiting dialog on invalid unpacked error
-
This commit is contained in:
Shyanne
2025-12-30 17:06:21 -05:00
parent 34190c9184
commit 2274a32813
6 changed files with 17 additions and 10 deletions

View File

@@ -803,7 +803,7 @@ namespace Ryujinx.Ava.Systems
if (!Device.LoadCart(ApplicationPath, romFsFiles[0]))
{
ContentDialogHelper.CreateErrorDialog(
await ContentDialogHelper.CreateErrorDialog(
"Please specify an unpacked game directory with a valid exefs or NSO/NRO.");
Device.Dispose();
@@ -816,7 +816,7 @@ namespace Ryujinx.Ava.Systems
Logger.Info?.Print(LogClass.Application, "Loading as cart WITHOUT RomFS.");
if (!Device.LoadCart(ApplicationPath))
{
ContentDialogHelper.CreateErrorDialog(
await ContentDialogHelper.CreateErrorDialog(
"Please specify an unpacked game directory with a valid exefs or NSO/NRO.");
Device.Dispose();
cts.Cancel();