Remove now unused code, add comment about probably wrong result codes
This commit is contained in:
parent
cd6d2f699b
commit
c8cecf27d9
2 changed files with 1 additions and 25 deletions
|
@ -174,31 +174,6 @@ namespace Ryujinx.Core.OsHle.Ipc
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
public long GetSendBuffPtr()
|
|
||||||
{
|
|
||||||
if (SendBuff.Count > 0 && SendBuff[0].Size != 0)
|
|
||||||
{
|
|
||||||
return SendBuff[0].Position;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (PtrBuff.Count > 0 && PtrBuff[0].Size != 0)
|
|
||||||
{
|
|
||||||
return PtrBuff[0].Position;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ReceiveBuff.Count > 0 && ReceiveBuff[0].Size != 0)
|
|
||||||
{
|
|
||||||
return ReceiveBuff[0].Position;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (RecvListBuff.Count > 0 && RecvListBuff[0].Size != 0)
|
|
||||||
{
|
|
||||||
return RecvListBuff[0].Position;
|
|
||||||
}
|
|
||||||
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
public long GetBufferType0x21Position()
|
public long GetBufferType0x21Position()
|
||||||
{
|
{
|
||||||
if (PtrBuff.Count > 0 && PtrBuff[0].Position != 0)
|
if (PtrBuff.Count > 0 && PtrBuff[0].Position != 0)
|
||||||
|
|
|
@ -86,6 +86,7 @@ namespace Ryujinx.Core.OsHle.Services.Nv
|
||||||
throw new NotImplementedException($"{FdData.Name} {Cmd:x4}");
|
throw new NotImplementedException($"{FdData.Name} {Cmd:x4}");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//TODO: Verify if the error codes needs to be translated.
|
||||||
Context.ResponseData.Write(Result);
|
Context.ResponseData.Write(Result);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue