From 66d41a48ccb782825991bbd847f0f84c0e0152e5 Mon Sep 17 00:00:00 2001 From: Stefanos Kornilios Mitsis Poiitidis Date: Fri, 14 Feb 2020 00:48:22 +0200 Subject: [PATCH] TA: Set TA_ITP_CURRENT on LIST_INIT --- libswirl/hw/pvr/pvr_sb_regs.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libswirl/hw/pvr/pvr_sb_regs.cpp b/libswirl/hw/pvr/pvr_sb_regs.cpp index 649f52d3cd..5b4fc4bc1b 100644 --- a/libswirl/hw/pvr/pvr_sb_regs.cpp +++ b/libswirl/hw/pvr/pvr_sb_regs.cpp @@ -310,6 +310,9 @@ struct PVRDevice : MMIODevice { if (addr == TA_LIST_INIT_addr) { + // FIXME: Fuller TA implementation + // This is needed because of how KOS sets the bgpoly + TA_ITP_CURRENT = TA_ISP_BASE; if (data >> 31) { ta_vtx_ListInit();