From c33a1b4b28610a556af0f91607e800b48aa26aba Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 20 May 2014 11:26:31 -0400 Subject: [PATCH] BPStructs: Document BPMEM_BP_MASK better --- Source/Core/VideoCommon/BPStructs.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Source/Core/VideoCommon/BPStructs.cpp b/Source/Core/VideoCommon/BPStructs.cpp index db1caf39b9..22a4024a1a 100644 --- a/Source/Core/VideoCommon/BPStructs.cpp +++ b/Source/Core/VideoCommon/BPStructs.cpp @@ -420,8 +420,13 @@ void BPWritten(const BPCmd& bp) case BPMEM_TEV_KSEL+5:// Texture Environment Swap Mode Table 5 case BPMEM_TEV_KSEL+6:// Texture Environment Swap Mode Table 6 case BPMEM_TEV_KSEL+7:// Texture Environment Swap Mode Table 7 - case BPMEM_BP_MASK: // This Register can be used to limit to which bits of BP registers is actually written to. the mask is - // only valid for the next BP command, and will reset itself. + + /* This Register can be used to limit to which bits of BP registers is + * actually written to. The mask is only valid for the next BP write, + * and will reset itself afterwards. It's handled as a special case in + * LoadBPReg. */ + case BPMEM_BP_MASK: + case BPMEM_IND_IMASK: // Index Mask ? case BPMEM_REVBITS: // Always set to 0x0F when GX_InitRevBits() is called. break;