Ryujinx/Ryujinx.HLE/HOS/Services/Fs/ResultCode.cs
Ac_K a0720b5681 Refactoring HOS folder structure (#771)
* Refactoring HOS folder structure

Refactoring HOS folder structure:

- Added some subfolders when needed (Following structure decided in private).
- Added some `Types` folders when needed.
- Little cleanup here and there.
- Add services placeholders for every HOS services (close #766 and #753).

* Remove Types namespaces
2019-09-19 10:45:11 +10:00

16 lines
No EOL
476 B
C#

namespace Ryujinx.HLE.HOS.Services.Fs
{
enum ResultCode
{
ModuleId = 2,
ErrorCodeShift = 9,
Success = 0,
PathDoesNotExist = (1 << ErrorCodeShift) | ModuleId,
PathAlreadyExists = (2 << ErrorCodeShift) | ModuleId,
PathAlreadyInUse = (7 << ErrorCodeShift) | ModuleId,
PartitionNotFound = (1001 << ErrorCodeShift) | ModuleId,
InvalidInput = (6001 << ErrorCodeShift) | ModuleId
}
}