mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-27 11:20:49 +01:00
4ad3936afd
* refactoring result codes - Add a main enum who can handle some orphalin result codes and the default `ResultCode.Success` one. - Add sub-enum by services when it's needed. - Remove some empty line. - Recast all service calls to ResultCode. - Remove some unneeded static declaration. - Delete unused `NvHelper` class. * NvResult is back * Fix
21 lines
548 B
C#
21 lines
548 B
C#
using Ryujinx.HLE.FileSystem;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Lr
|
|
{
|
|
[Service("lr")]
|
|
class ILocationResolverManager : IpcService
|
|
{
|
|
public ILocationResolverManager(ServiceCtx context) { }
|
|
|
|
[Command(0)]
|
|
// OpenLocationResolver()
|
|
private ResultCode OpenLocationResolver(ServiceCtx context)
|
|
{
|
|
StorageId storageId = (StorageId)context.RequestData.ReadByte();
|
|
|
|
MakeObject(context, new ILocationResolver(storageId));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
} |