mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-26 07:39:52 -06:00
Improved GPU command lists decoding (#499)
* Better implementation of the DMA pusher, misc fixes * Remove some debug code * Correct RGBX8 format * Add support for linked Texture Sampler Control * Attempt to fix upside down screen issue
This commit is contained in:
24
Ryujinx.Graphics/GpuMethodCall.cs
Normal file
24
Ryujinx.Graphics/GpuMethodCall.cs
Normal file
@ -0,0 +1,24 @@
|
||||
namespace Ryujinx.Graphics
|
||||
{
|
||||
struct GpuMethodCall
|
||||
{
|
||||
public int Method { get; private set; }
|
||||
public int Argument { get; private set; }
|
||||
public int SubChannel { get; private set; }
|
||||
public int MethodCount { get; private set; }
|
||||
|
||||
public bool IsLastCall => MethodCount <= 1;
|
||||
|
||||
public GpuMethodCall(
|
||||
int Method,
|
||||
int Argument,
|
||||
int SubChannel = 0,
|
||||
int MethodCount = 0)
|
||||
{
|
||||
this.Method = Method;
|
||||
this.Argument = Argument;
|
||||
this.SubChannel = SubChannel;
|
||||
this.MethodCount = MethodCount;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user