diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-06-02 20:40:26 -0300 |
|---|---|---|
| committer | gdkchan <gab.dark.100@gmail.com> | 2018-06-02 20:40:26 -0300 |
| commit | e7efee7909650e9b747e0f26efebbfc1b32a078e (patch) | |
| tree | e836a3ea7ffa41384ff8ac8ab3d9020bae2c2842 /Ryujinx.Core/OsHle/Services | |
| parent | 250e2084f4cc274ce8a68096f382768cfc03f0e0 (diff) | |
Use GetBufferType0x21 on TransactParcelAuto aswell
Diffstat (limited to 'Ryujinx.Core/OsHle/Services')
| -rw-r--r-- | Ryujinx.Core/OsHle/Services/Nv/INvDrvServices.cs | 2 | ||||
| -rw-r--r-- | Ryujinx.Core/OsHle/Services/Vi/IHOSBinderDriver.cs | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/Ryujinx.Core/OsHle/Services/Nv/INvDrvServices.cs b/Ryujinx.Core/OsHle/Services/Nv/INvDrvServices.cs index 16acf592..d67a6088 100644 --- a/Ryujinx.Core/OsHle/Services/Nv/INvDrvServices.cs +++ b/Ryujinx.Core/OsHle/Services/Nv/INvDrvServices.cs @@ -139,7 +139,7 @@ namespace Ryujinx.Core.OsHle.Services.Nv return 0; } - + public long FinishInitialize(ServiceCtx Context) { Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed."); diff --git a/Ryujinx.Core/OsHle/Services/Vi/IHOSBinderDriver.cs b/Ryujinx.Core/OsHle/Services/Vi/IHOSBinderDriver.cs index 72e8ef19..c00e247e 100644 --- a/Ryujinx.Core/OsHle/Services/Vi/IHOSBinderDriver.cs +++ b/Ryujinx.Core/OsHle/Services/Vi/IHOSBinderDriver.cs @@ -48,16 +48,12 @@ namespace Ryujinx.Core.OsHle.Services.Vi return Flinger.ProcessParcelRequest(Context, Data, Code); } - //TransactParcelAuto(i32, u32, u32, buffer<unknown, 0x21, 0>) -> buffer<unknown, 0x22, 0> - //Buffer C (PtrBuff) and X (ReceiveListBuff) can be used here... - //But they are all null during all my tests. public long TransactParcelAuto(ServiceCtx Context) { int Id = Context.RequestData.ReadInt32(); int Code = Context.RequestData.ReadInt32(); - long DataPos = Context.Request.SendBuff[0].Position; - long DataSize = Context.Request.SendBuff[0].Size; + (long DataPos, long DataSize) = Context.Request.GetBufferType0x21(); byte[] Data = AMemoryHelper.ReadBytes(Context.Memory, DataPos, DataSize); |
