Sfoglia il codice sorgente

Add two error codes to SDB PDM (#1230)

* Add two error codes to SDB PDM

The error codes were taken from Switchbrew (https://switchbrew.org/wiki/Error_codes)

* Remove empty line
VolcaEM 6 anni fa
parent
commit
1dd78142fa
1 ha cambiato i file con 4 aggiunte e 2 eliminazioni
  1. 4 2
      Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs

+ 4 - 2
Ryujinx.HLE/HOS/Services/Sdb/Pdm/ResultCode.cs

@@ -7,7 +7,9 @@
 
         Success = 0,
 
+        InvalidUserID      = (100 << ErrorCodeShift) | ModuleId,
         UserNotFound       = (101 << ErrorCodeShift) | ModuleId,
-        ServiceUnavailable = (150 << ErrorCodeShift) | ModuleId
+        ServiceUnavailable = (150 << ErrorCodeShift) | ModuleId,
+        FileStorageFailure = (200 << ErrorCodeShift) | ModuleId
     }
-}
+}