|
@@ -27,8 +27,8 @@ namespace Ryujinx.Core.OsHle.Services.Nv.NvHostChannel
|
|
|
|
|
|
|
|
private static int SetUserData(ServiceCtx Context)
|
|
private static int SetUserData(ServiceCtx Context)
|
|
|
{
|
|
{
|
|
|
- long InputPosition = Context.Request.GetBufferType0x21Position();
|
|
|
|
|
- long OutputPosition = Context.Request.GetBufferType0x22Position();
|
|
|
|
|
|
|
+ long InputPosition = Context.Request.GetBufferType0x21().Position;
|
|
|
|
|
+ long OutputPosition = Context.Request.GetBufferType0x22().Position;
|
|
|
|
|
|
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
|
|
|
|
|
@@ -37,8 +37,8 @@ namespace Ryujinx.Core.OsHle.Services.Nv.NvHostChannel
|
|
|
|
|
|
|
|
private static int SetNvMap(ServiceCtx Context)
|
|
private static int SetNvMap(ServiceCtx Context)
|
|
|
{
|
|
{
|
|
|
- long InputPosition = Context.Request.GetBufferType0x21Position();
|
|
|
|
|
- long OutputPosition = Context.Request.GetBufferType0x22Position();
|
|
|
|
|
|
|
+ long InputPosition = Context.Request.GetBufferType0x21().Position;
|
|
|
|
|
+ long OutputPosition = Context.Request.GetBufferType0x22().Position;
|
|
|
|
|
|
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
|
|
|
|
|
@@ -47,8 +47,8 @@ namespace Ryujinx.Core.OsHle.Services.Nv.NvHostChannel
|
|
|
|
|
|
|
|
private static int SubmitGpfifo(ServiceCtx Context)
|
|
private static int SubmitGpfifo(ServiceCtx Context)
|
|
|
{
|
|
{
|
|
|
- long InputPosition = Context.Request.GetBufferType0x21Position();
|
|
|
|
|
- long OutputPosition = Context.Request.GetBufferType0x22Position();
|
|
|
|
|
|
|
+ long InputPosition = Context.Request.GetBufferType0x21().Position;
|
|
|
|
|
+ long OutputPosition = Context.Request.GetBufferType0x22().Position;
|
|
|
|
|
|
|
|
NvHostChannelSubmitGpfifo Args = AMemoryHelper.Read<NvHostChannelSubmitGpfifo>(Context.Memory, InputPosition);
|
|
NvHostChannelSubmitGpfifo Args = AMemoryHelper.Read<NvHostChannelSubmitGpfifo>(Context.Memory, InputPosition);
|
|
|
|
|
|
|
@@ -79,8 +79,8 @@ namespace Ryujinx.Core.OsHle.Services.Nv.NvHostChannel
|
|
|
|
|
|
|
|
private static int AllocObjCtx(ServiceCtx Context)
|
|
private static int AllocObjCtx(ServiceCtx Context)
|
|
|
{
|
|
{
|
|
|
- long InputPosition = Context.Request.GetBufferType0x21Position();
|
|
|
|
|
- long OutputPosition = Context.Request.GetBufferType0x22Position();
|
|
|
|
|
|
|
+ long InputPosition = Context.Request.GetBufferType0x21().Position;
|
|
|
|
|
+ long OutputPosition = Context.Request.GetBufferType0x22().Position;
|
|
|
|
|
|
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
|
|
|
|
|
@@ -89,8 +89,8 @@ namespace Ryujinx.Core.OsHle.Services.Nv.NvHostChannel
|
|
|
|
|
|
|
|
private static int ZcullBind(ServiceCtx Context)
|
|
private static int ZcullBind(ServiceCtx Context)
|
|
|
{
|
|
{
|
|
|
- long InputPosition = Context.Request.GetBufferType0x21Position();
|
|
|
|
|
- long OutputPosition = Context.Request.GetBufferType0x22Position();
|
|
|
|
|
|
|
+ long InputPosition = Context.Request.GetBufferType0x21().Position;
|
|
|
|
|
+ long OutputPosition = Context.Request.GetBufferType0x22().Position;
|
|
|
|
|
|
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
|
|
|
|
|
@@ -99,8 +99,8 @@ namespace Ryujinx.Core.OsHle.Services.Nv.NvHostChannel
|
|
|
|
|
|
|
|
private static int SetErrorNotifier(ServiceCtx Context)
|
|
private static int SetErrorNotifier(ServiceCtx Context)
|
|
|
{
|
|
{
|
|
|
- long InputPosition = Context.Request.GetBufferType0x21Position();
|
|
|
|
|
- long OutputPosition = Context.Request.GetBufferType0x22Position();
|
|
|
|
|
|
|
+ long InputPosition = Context.Request.GetBufferType0x21().Position;
|
|
|
|
|
+ long OutputPosition = Context.Request.GetBufferType0x22().Position;
|
|
|
|
|
|
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
|
|
|
|
|
@@ -109,8 +109,8 @@ namespace Ryujinx.Core.OsHle.Services.Nv.NvHostChannel
|
|
|
|
|
|
|
|
private static int SetPriority(ServiceCtx Context)
|
|
private static int SetPriority(ServiceCtx Context)
|
|
|
{
|
|
{
|
|
|
- long InputPosition = Context.Request.GetBufferType0x21Position();
|
|
|
|
|
- long OutputPosition = Context.Request.GetBufferType0x22Position();
|
|
|
|
|
|
|
+ long InputPosition = Context.Request.GetBufferType0x21().Position;
|
|
|
|
|
+ long OutputPosition = Context.Request.GetBufferType0x22().Position;
|
|
|
|
|
|
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
|
|
|
|
|
@@ -119,8 +119,8 @@ namespace Ryujinx.Core.OsHle.Services.Nv.NvHostChannel
|
|
|
|
|
|
|
|
private static int AllocGpfifoEx2(ServiceCtx Context)
|
|
private static int AllocGpfifoEx2(ServiceCtx Context)
|
|
|
{
|
|
{
|
|
|
- long InputPosition = Context.Request.GetBufferType0x21Position();
|
|
|
|
|
- long OutputPosition = Context.Request.GetBufferType0x22Position();
|
|
|
|
|
|
|
+ long InputPosition = Context.Request.GetBufferType0x21().Position;
|
|
|
|
|
+ long OutputPosition = Context.Request.GetBufferType0x22().Position;
|
|
|
|
|
|
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
Context.Ns.Log.PrintStub(LogClass.ServiceNv, "Stubbed.");
|
|
|
|
|
|