aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/Utilities/StructWriter.cs
diff options
context:
space:
mode:
authorThog <me@thog.eu>2020-04-30 05:03:05 +0200
committerGitHub <noreply@github.com>2020-04-30 13:03:05 +1000
commit23170da5a0092c2a9d2d5d0b49da5ee1f53637ac (patch)
treed2ea024a2dee5768661fcae68feb4da5d5e95a16 /Ryujinx.HLE/Utilities/StructWriter.cs
parentc2ac45adc5e735f752c128990e022252a6e0a426 (diff)
audren: implement Renderer Info output informations (#1179)
This implement the rendering information output informations of RequestUpdate. This is needed by some games to keep track of the count of update on the DSP.
Diffstat (limited to 'Ryujinx.HLE/Utilities/StructWriter.cs')
-rw-r--r--Ryujinx.HLE/Utilities/StructWriter.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Ryujinx.HLE/Utilities/StructWriter.cs b/Ryujinx.HLE/Utilities/StructWriter.cs
index b488b5d6..1237746f 100644
--- a/Ryujinx.HLE/Utilities/StructWriter.cs
+++ b/Ryujinx.HLE/Utilities/StructWriter.cs
@@ -21,5 +21,10 @@ namespace Ryujinx.HLE.Utilities
Position += Marshal.SizeOf<T>();
}
+
+ public void SkipBytes(long count)
+ {
+ Position += count;
+ }
}
}