summaryrefslogtreecommitdiff
path: root/Source/Core/VideoBackends/Software/BPMemLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoBackends/Software/BPMemLoader.cpp')
-rw-r--r--Source/Core/VideoBackends/Software/BPMemLoader.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/Source/Core/VideoBackends/Software/BPMemLoader.cpp b/Source/Core/VideoBackends/Software/BPMemLoader.cpp
index 990d21e539..f2aa429c49 100644
--- a/Source/Core/VideoBackends/Software/BPMemLoader.cpp
+++ b/Source/Core/VideoBackends/Software/BPMemLoader.cpp
@@ -145,10 +145,10 @@ void SWBPWritten(int address, int newvalue)
}
break;
- case BPMEM_TEV_REGISTER_L: // Reg 1
- case BPMEM_TEV_REGISTER_L+2: // Reg 2
- case BPMEM_TEV_REGISTER_L+4: // Reg 3
- case BPMEM_TEV_REGISTER_L+6: // Reg 4
+ case BPMEM_TEV_COLOR_RA:
+ case BPMEM_TEV_COLOR_RA + 2:
+ case BPMEM_TEV_COLOR_RA + 4:
+ case BPMEM_TEV_COLOR_RA + 6:
{
int regNum = (address >> 1 ) & 0x3;
TevReg& reg = bpmem.tevregs[regNum];
@@ -160,10 +160,10 @@ void SWBPWritten(int address, int newvalue)
break;
}
- case BPMEM_TEV_REGISTER_H: // Reg 1
- case BPMEM_TEV_REGISTER_H+2: // Reg 2
- case BPMEM_TEV_REGISTER_H+4: // Reg 3
- case BPMEM_TEV_REGISTER_H+6: // Reg 4
+ case BPMEM_TEV_COLOR_BG:
+ case BPMEM_TEV_COLOR_BG + 2:
+ case BPMEM_TEV_COLOR_BG + 4:
+ case BPMEM_TEV_COLOR_BG + 6:
{
int regNum = (address >> 1 ) & 0x3;
TevReg& reg = bpmem.tevregs[regNum];