From 32cdccde127bde93f462e4d9d25a05aa0c8e79e9 Mon Sep 17 00:00:00 2001 From: Evan Husted Date: Sun, 29 Dec 2024 18:06:18 -0600 Subject: [PATCH] misc: Move UserError to Common project --- src/{Ryujinx.UI.Common => Ryujinx.Common/UI}/UserError.cs | 2 +- src/Ryujinx.UI.Common/Helper/SetupValidator.cs | 1 + src/Ryujinx/AppHost.cs | 1 + src/Ryujinx/UI/Helpers/UserErrorDialog.cs | 1 + src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs | 1 + src/Ryujinx/UI/Windows/MainWindow.axaml.cs | 1 + 6 files changed, 6 insertions(+), 1 deletion(-) rename src/{Ryujinx.UI.Common => Ryujinx.Common/UI}/UserError.cs (96%) diff --git a/src/Ryujinx.UI.Common/UserError.cs b/src/Ryujinx.Common/UI/UserError.cs similarity index 96% rename from src/Ryujinx.UI.Common/UserError.cs rename to src/Ryujinx.Common/UI/UserError.cs index 706971efa..cdcc42eac 100644 --- a/src/Ryujinx.UI.Common/UserError.cs +++ b/src/Ryujinx.Common/UI/UserError.cs @@ -1,4 +1,4 @@ -namespace Ryujinx.UI.Common +namespace Ryujinx.Common.UI { /// /// Represent a common error that could be reported to the user by the emulator. diff --git a/src/Ryujinx.UI.Common/Helper/SetupValidator.cs b/src/Ryujinx.UI.Common/Helper/SetupValidator.cs index 45d9f8f0d..ddd9c9e30 100644 --- a/src/Ryujinx.UI.Common/Helper/SetupValidator.cs +++ b/src/Ryujinx.UI.Common/Helper/SetupValidator.cs @@ -1,4 +1,5 @@ using Ryujinx.Common.Logging; +using Ryujinx.Common.UI; using Ryujinx.HLE.FileSystem; using System; using System.IO; diff --git a/src/Ryujinx/AppHost.cs b/src/Ryujinx/AppHost.cs index 1f538868b..03860da43 100644 --- a/src/Ryujinx/AppHost.cs +++ b/src/Ryujinx/AppHost.cs @@ -25,6 +25,7 @@ using Ryujinx.Common.Configuration; using Ryujinx.Common.Configuration.Multiplayer; using Ryujinx.Common.Logging; using Ryujinx.Common.SystemInterop; +using Ryujinx.Common.UI; using Ryujinx.Common.Utilities; using Ryujinx.Graphics.GAL; using Ryujinx.Graphics.GAL.Multithreading; diff --git a/src/Ryujinx/UI/Helpers/UserErrorDialog.cs b/src/Ryujinx/UI/Helpers/UserErrorDialog.cs index b981a8275..3864be0fa 100644 --- a/src/Ryujinx/UI/Helpers/UserErrorDialog.cs +++ b/src/Ryujinx/UI/Helpers/UserErrorDialog.cs @@ -1,4 +1,5 @@ using Ryujinx.Ava.Common.Locale; +using Ryujinx.Common.UI; using Ryujinx.UI.Common; using System.Threading.Tasks; diff --git a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs index 2f1800290..6e014fedc 100644 --- a/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs +++ b/src/Ryujinx/UI/ViewModels/MainWindowViewModel.cs @@ -24,6 +24,7 @@ using Ryujinx.Ava.UI.Windows; using Ryujinx.Common; using Ryujinx.Common.Configuration; using Ryujinx.Common.Logging; +using Ryujinx.Common.UI; using Ryujinx.Common.Utilities; using Ryujinx.Cpu; using Ryujinx.HLE; diff --git a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs index da4314e79..0e1e88b9c 100644 --- a/src/Ryujinx/UI/Windows/MainWindow.axaml.cs +++ b/src/Ryujinx/UI/Windows/MainWindow.axaml.cs @@ -17,6 +17,7 @@ using Ryujinx.Ava.UI.Helpers; using Ryujinx.Ava.UI.ViewModels; using Ryujinx.Common; using Ryujinx.Common.Logging; +using Ryujinx.Common.UI; using Ryujinx.Graphics.Gpu; using Ryujinx.HLE.FileSystem; using Ryujinx.HLE.HOS;