ResultCode.cs 476 B

12345678910111213141516
  1. namespace Ryujinx.HLE.HOS.Services.Fs
  2. {
  3. enum ResultCode
  4. {
  5. ModuleId = 2,
  6. ErrorCodeShift = 9,
  7. Success = 0,
  8. PathDoesNotExist = (1 << ErrorCodeShift) | ModuleId,
  9. PathAlreadyExists = (2 << ErrorCodeShift) | ModuleId,
  10. PathAlreadyInUse = (7 << ErrorCodeShift) | ModuleId,
  11. PartitionNotFound = (1001 << ErrorCodeShift) | ModuleId,
  12. InvalidInput = (6001 << ErrorCodeShift) | ModuleId
  13. }
  14. }