mirror of
https://github.com/GreemDev/Ryujinx
synced 2024-12-02 14:32:07 +01:00
e3b36db71c
* hle: Some cleanup This PR cleaned up a bit the HLE folder and the VirtualFileSystem one, since we use LibHac, we can use some class of it directly instead of duplicate things. The "Content" of VFS folder is removed since it should be handled in the NCM service directly. A larger cleanup should be done later since there is still be duplicated code here and there. * Fix Headless.SDL2 * Addresses gdkchan feedback
22 lines
No EOL
606 B
C#
22 lines
No EOL
606 B
C#
using LibHac.Ncm;
|
|
using Ryujinx.HLE.HOS.Services.Ncm.Lr.LocationResolverManager;
|
|
|
|
namespace Ryujinx.HLE.HOS.Services.Ncm.Lr
|
|
{
|
|
[Service("lr")]
|
|
class ILocationResolverManager : IpcService
|
|
{
|
|
public ILocationResolverManager(ServiceCtx context) { }
|
|
|
|
[CommandHipc(0)]
|
|
// OpenLocationResolver()
|
|
public ResultCode OpenLocationResolver(ServiceCtx context)
|
|
{
|
|
StorageId storageId = (StorageId)context.RequestData.ReadByte();
|
|
|
|
MakeObject(context, new ILocationResolver(storageId));
|
|
|
|
return ResultCode.Success;
|
|
}
|
|
}
|
|
} |