From b2326f5ed328d756130dcc5e1c73225bf9ae4e9a Mon Sep 17 00:00:00 2001 From: cadmic Date: Mon, 14 Oct 2024 10:15:15 -0700 Subject: [PATCH] Decode scissorX1/scissorY1 --- src/emulator/rsp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/emulator/rsp.c b/src/emulator/rsp.c index 2148f497..29976ecc 100644 --- a/src/emulator/rsp.c +++ b/src/emulator/rsp.c @@ -159,10 +159,13 @@ static bool nFirstTime_2757 = true; static bool nFirstTime_2796 = true; static s32 counter; + +// TODO: initialize as 0 << 2 static u16 scissorX0; static u16 scissorY0; -static u16 scissorX1 = 0x500; -static u16 scissorY1 = 0x3C0; +static u16 scissorX1 = N64_FRAME_WIDTH << 2; +static u16 scissorY1 = N64_FRAME_HEIGHT << 2; + static u8 flagBilerp; static u32 rdpSetTimg_w0; static u32 rdpSetTile_w0;