From d987cacfb720f2f4bc18958fc26ac0893903c090 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Fri, 17 Jun 2022 12:01:52 -0300 Subject: Fix VIC out of bounds copy (#3386) * Fix VIC out of bounds copy * Update the assert --- Ryujinx.Graphics.Vic/Rectangle.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Ryujinx.Graphics.Vic/Rectangle.cs (limited to 'Ryujinx.Graphics.Vic/Rectangle.cs') 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 -- cgit v1.2.3