From 964cfaea47c58bef0178a1f83516d3fffc11319b Mon Sep 17 00:00:00 2001 From: Jannik Vogel Date: Mon, 14 Mar 2016 18:26:30 +0100 Subject: [PATCH] PICA: Fix viewport offset --- src/video_core/pica.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/video_core/pica.h b/src/video_core/pica.h index 2e0c33201..7fb3aa481 100644 --- a/src/video_core/pica.h +++ b/src/video_core/pica.h @@ -117,8 +117,8 @@ struct Regs { INSERT_PADDING_WORDS(0x11); union { - BitField< 0, 16, u32> x; - BitField<16, 16, u32> y; + BitField< 0, 10, s32> x; + BitField<16, 10, s32> y; } viewport_corner; INSERT_PADDING_WORDS(0x17);