Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

PICA: Fix viewport offset

Jannik Vogel0957931bc450
diff --git a/src/video_core/pica.h b/src/video_core/pica.h
index 2e0c332016..7fb3aa481e 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);