aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Graphics.Vic/Rectangle.cs
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2022-06-17 12:01:52 -0300
committerGitHub <noreply@github.com>2022-06-17 12:01:52 -0300
commitd987cacfb720f2f4bc18958fc26ac0893903c090 (patch)
treea166e9ec7c7efd735875fe206142465c6f169eb3 /Ryujinx.Graphics.Vic/Rectangle.cs
parent851f56b08a0c3b420f91143b6c6c007b429174a8 (diff)
Fix VIC out of bounds copy (#3386)1.1.148
* Fix VIC out of bounds copy * Update the assert
Diffstat (limited to 'Ryujinx.Graphics.Vic/Rectangle.cs')
-rw-r--r--Ryujinx.Graphics.Vic/Rectangle.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/Ryujinx.Graphics.Vic/Rectangle.cs b/Ryujinx.Graphics.Vic/Rectangle.cs
new file mode 100644
index 00000000..2a13b95c
--- /dev/null
+++ b/Ryujinx.Graphics.Vic/Rectangle.cs
@@ -0,0 +1,18 @@
+namespace Ryujinx.Graphics.Vic
+{
+ struct Rectangle
+ {
+ public readonly int X;
+ public readonly int Y;
+ public readonly int Width;
+ public readonly int Height;
+
+ public Rectangle(int x, int y, int width, int height)
+ {
+ X = x;
+ Y = y;
+ Width = width;
+ Height = height;
+ }
+ }
+} \ No newline at end of file