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
This commit is contained in:
Ac_K 2019-09-19 02:45:11 +02:00 committed by jduncanator
parent 4af3101b22
commit a0720b5681
393 changed files with 2540 additions and 1299 deletions

View file

@ -0,0 +1,16 @@
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
}
}