Continue documenting generic arguments
This commit is contained in:
+6
-6
@@ -4428,37 +4428,37 @@ bool16 HasAllMons(void)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
static void ResetOtherVideoRegisters(u16 a)
|
||||
static void ResetOtherVideoRegisters(u16 regBits)
|
||||
{
|
||||
if (!(a & DISPCNT_BG0_ON))
|
||||
if (!(regBits & DISPCNT_BG0_ON))
|
||||
{
|
||||
ClearGpuRegBits(0, DISPCNT_BG0_ON);
|
||||
SetGpuReg(REG_OFFSET_BG0CNT, 0);
|
||||
SetGpuReg(REG_OFFSET_BG0HOFS, 0);
|
||||
SetGpuReg(REG_OFFSET_BG0VOFS, 0);
|
||||
}
|
||||
if (!(a & DISPCNT_BG1_ON))
|
||||
if (!(regBits & DISPCNT_BG1_ON))
|
||||
{
|
||||
ClearGpuRegBits(0, DISPCNT_BG1_ON);
|
||||
SetGpuReg(REG_OFFSET_BG1CNT, 0);
|
||||
SetGpuReg(REG_OFFSET_BG1HOFS, 0);
|
||||
SetGpuReg(REG_OFFSET_BG1VOFS, 0);
|
||||
}
|
||||
if (!(a & DISPCNT_BG2_ON))
|
||||
if (!(regBits & DISPCNT_BG2_ON))
|
||||
{
|
||||
ClearGpuRegBits(0, DISPCNT_BG2_ON);
|
||||
SetGpuReg(REG_OFFSET_BG2CNT, 0);
|
||||
SetGpuReg(REG_OFFSET_BG2HOFS, 0);
|
||||
SetGpuReg(REG_OFFSET_BG2VOFS, 0);
|
||||
}
|
||||
if (!(a & DISPCNT_BG3_ON))
|
||||
if (!(regBits & DISPCNT_BG3_ON))
|
||||
{
|
||||
ClearGpuRegBits(0, DISPCNT_BG3_ON);
|
||||
SetGpuReg(REG_OFFSET_BG3CNT, 0);
|
||||
SetGpuReg(REG_OFFSET_BG3HOFS, 0);
|
||||
SetGpuReg(REG_OFFSET_BG3VOFS, 0);
|
||||
}
|
||||
if (!(a & DISPCNT_OBJ_ON))
|
||||
if (!(regBits & DISPCNT_OBJ_ON))
|
||||
{
|
||||
ClearGpuRegBits(0, DISPCNT_OBJ_ON);
|
||||
ResetSpriteData();
|
||||
|
||||
Reference in New Issue
Block a user