From 23669bfdbf30129d53a955d95e17c864c975a6f2 Mon Sep 17 00:00:00 2001 From: Ac_K Date: Wed, 16 Oct 2019 02:12:58 +0200 Subject: [PATCH] Move InvalidSystemResourceException with the other `InvalidSystemResourceException.cs` was in `Ryujinx.HLE/Resource` who didn't make sense since it's the only file in the folder, and other exceptions class are in `Ryujinx.HLE/Exceptions`. --- .../Exceptions/InvalidSystemResourceException.cs | 9 +++++++++ Ryujinx.HLE/HOS/Font/SharedFontManager.cs | 2 +- .../Time/TimeZone/TimeZoneContentManager.cs | 3 +-- .../Resource/InvalidSystemResourceException.cs | 13 ------------- 4 files changed, 11 insertions(+), 16 deletions(-) create mode 100644 Ryujinx.HLE/Exceptions/InvalidSystemResourceException.cs delete mode 100644 Ryujinx.HLE/Resource/InvalidSystemResourceException.cs diff --git a/Ryujinx.HLE/Exceptions/InvalidSystemResourceException.cs b/Ryujinx.HLE/Exceptions/InvalidSystemResourceException.cs new file mode 100644 index 0000000000..3c63e0641e --- /dev/null +++ b/Ryujinx.HLE/Exceptions/InvalidSystemResourceException.cs @@ -0,0 +1,9 @@ +using System; + +namespace Ryujinx.HLE.Exceptions +{ + public class InvalidSystemResourceException : Exception + { + public InvalidSystemResourceException(string message) : base(message) { } + } +} \ No newline at end of file diff --git a/Ryujinx.HLE/HOS/Font/SharedFontManager.cs b/Ryujinx.HLE/HOS/Font/SharedFontManager.cs index 8a936dbf55..c1cdf6b059 100644 --- a/Ryujinx.HLE/HOS/Font/SharedFontManager.cs +++ b/Ryujinx.HLE/HOS/Font/SharedFontManager.cs @@ -1,9 +1,9 @@ using LibHac.Fs; using LibHac.Fs.NcaUtils; using Ryujinx.Common; +using Ryujinx.HLE.Exceptions; using Ryujinx.HLE.FileSystem; using Ryujinx.HLE.FileSystem.Content; -using Ryujinx.HLE.Resource; using System.Collections.Generic; using System.IO; using static Ryujinx.HLE.Utilities.FontUtils; diff --git a/Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZoneContentManager.cs b/Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZoneContentManager.cs index 8a2a55b9b1..6e8b5b71cf 100644 --- a/Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZoneContentManager.cs +++ b/Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZoneContentManager.cs @@ -1,13 +1,12 @@ using LibHac.Fs; using LibHac.Fs.NcaUtils; using Ryujinx.Common.Logging; +using Ryujinx.HLE.Exceptions; using Ryujinx.HLE.FileSystem; using Ryujinx.HLE.HOS.Services.Time.Clock; -using Ryujinx.HLE.Resource; using Ryujinx.HLE.Utilities; using System.Collections.Generic; using System.IO; - using static Ryujinx.HLE.HOS.Services.Time.TimeZone.TimeZoneRule; namespace Ryujinx.HLE.HOS.Services.Time.TimeZone diff --git a/Ryujinx.HLE/Resource/InvalidSystemResourceException.cs b/Ryujinx.HLE/Resource/InvalidSystemResourceException.cs deleted file mode 100644 index 35c4874a34..0000000000 --- a/Ryujinx.HLE/Resource/InvalidSystemResourceException.cs +++ /dev/null @@ -1,13 +0,0 @@ -using System; - -namespace Ryujinx.HLE.Resource -{ - public class InvalidSystemResourceException : Exception - { - public InvalidSystemResourceException(string message) - : base(message) - { - } - - } -}