Allow "reinterpretation" of framebuffer/zeta formats (#418)
* (Re)Implement format reinterpretation, other changes * Implement writeback to guest memory, some refactoring * More refactoring, implement reinterpretation the old way again * Clean up * Some fixes on M2MF (old Dma engine), added partial support for P2MF, fix conditional ssy, add Z24S8 zeta format, other fixes * nit: Formatting * Address PR feedback
This commit is contained in:
parent
bec95cacc1
commit
d4187aaa9d
52 changed files with 1594 additions and 1979 deletions
17
Ryujinx.Graphics/ValueRange.cs
Normal file
17
Ryujinx.Graphics/ValueRange.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
namespace Ryujinx.Graphics
|
||||
{
|
||||
struct ValueRange<T>
|
||||
{
|
||||
public long Start { get; private set; }
|
||||
public long End { get; private set; }
|
||||
|
||||
public T Value { get; set; }
|
||||
|
||||
public ValueRange(long Start, long End, T Value = default(T))
|
||||
{
|
||||
this.Start = Start;
|
||||
this.End = End;
|
||||
this.Value = Value;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue