Remove unused code and outdated comments

This commit is contained in:
Thog 2019-10-29 01:06:51 +01:00
parent 629fe64dd6
commit c94b2da01b
No known key found for this signature in database
GPG key ID: 0CD291558FAFDBC6
6 changed files with 4 additions and 20 deletions

View file

@ -48,11 +48,6 @@ namespace Ryujinx.HLE.HOS.Services.Nv
_owner = null;
}
static INvDrvServices()
{
// TODO: dynamically generate _channelRegistry with attribute
}
private int Open(ServiceCtx context, string path)
{
if (context.Process == _owner)

View file

@ -1,11 +0,0 @@
using System;
namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices
{
class NvDeviceAttribute : Attribute
{
public readonly string Path;
public NvDeviceAttribute(string path) => Path = path;
}
}

View file

@ -316,7 +316,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostAsGpu
public override void Close()
{
// TODO
}
public static AddressSpaceContext GetAddressSpaceContext(KProcess process)

View file

@ -345,7 +345,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostChannel
public override void Close()
{
// TODO
}
}
}

View file

@ -374,7 +374,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostCtrl
public override void Close()
{
// TODO
}
}
}

View file

@ -78,7 +78,7 @@ namespace Ryujinx.HLE.HOS.Services.Nv.NvDrvServices.NvHostCtrlGpu
public override void Close()
{
// TODO
}
private NvInternalResult ZcullGetCtxSize(ref ZcullGetCtxSizeArguments arguments)