Просмотр исходного кода

Move InvalidSystemResourceException with the other Exceptions (#794)

* 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`.

* Fix empty lines
Ac_K 6 лет назад
Родитель
Сommit
c0fe6cdca0

+ 9 - 0
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) { }
+    }
+}

+ 2 - 1
Ryujinx.HLE/HOS/Font/SharedFontManager.cs

@@ -1,11 +1,12 @@
 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;
 
 namespace Ryujinx.HLE.HOS.Font

+ 1 - 1
Ryujinx.HLE/HOS/Services/Time/TimeZone/TimeZoneContentManager.cs

@@ -1,9 +1,9 @@
 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;

+ 0 - 13
Ryujinx.HLE/Resource/InvalidSystemResourceException.cs

@@ -1,13 +0,0 @@
-using System;
-
-namespace Ryujinx.HLE.Resource
-{
-    public class InvalidSystemResourceException : Exception
-    {
-        public InvalidSystemResourceException(string message)
-            : base(message)
-        {
-        }
-
-    }
-}