ResultCode.cs 1.5 KB

1234567891011121314151617181920212223242526272829
  1. namespace Ryujinx.HLE.HOS.Services.Bcat
  2. {
  3. enum ResultCode
  4. {
  5. ModuleId = 122,
  6. ErrorCodeShift = 9,
  7. Success = 0,
  8. InvalidArgument = (1 << ErrorCodeShift) | ModuleId,
  9. NotFound = (2 << ErrorCodeShift) | ModuleId,
  10. TargetLocked = (3 << ErrorCodeShift) | ModuleId,
  11. TargetAlreadyMounted = (4 << ErrorCodeShift) | ModuleId,
  12. TargetNotMounted = (5 << ErrorCodeShift) | ModuleId,
  13. AlreadyOpen = (6 << ErrorCodeShift) | ModuleId,
  14. NotOpen = (7 << ErrorCodeShift) | ModuleId,
  15. InternetRequestDenied = (8 << ErrorCodeShift) | ModuleId,
  16. ServiceOpenLimitReached = (9 << ErrorCodeShift) | ModuleId,
  17. SaveDataNotFound = (10 << ErrorCodeShift) | ModuleId,
  18. NetworkServiceAccountNotAvailable = (31 << ErrorCodeShift) | ModuleId,
  19. PassphrasePathNotFound = (80 << ErrorCodeShift) | ModuleId,
  20. DataVerificationFailed = (81 << ErrorCodeShift) | ModuleId,
  21. PermissionDenied = (90 << ErrorCodeShift) | ModuleId,
  22. AllocationFailed = (91 << ErrorCodeShift) | ModuleId,
  23. InvalidOperation = (98 << ErrorCodeShift) | ModuleId,
  24. InvalidDeliveryCacheStorageFile = (204 << ErrorCodeShift) | ModuleId,
  25. StorageOpenLimitReached = (205 << ErrorCodeShift) | ModuleId
  26. }
  27. }