mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-05-05 11:44:49 +12:00
A few kissable changes
This commit is contained in:
parent
82df95cf88
commit
b8712b37c3
4 changed files with 11 additions and 8 deletions
|
@ -143,10 +143,10 @@ void GPU::writeInternalReg(u32 index, u32 value, u32 mask) {
|
|||
case FogLUTData5:
|
||||
case FogLUTData6:
|
||||
case FogLUTData7: {
|
||||
const uint32_t index = regs[FogLUTIndex] & 127;
|
||||
const uint32_t index = regs[FogLUTIndex] & 0x7F;
|
||||
fogLUT[index] = value;
|
||||
fogLUTDirty = true;
|
||||
regs[FogLUTIndex] = (index + 1) & 127;
|
||||
regs[FogLUTIndex] = (index + 1) & 0x7F;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue