aboutsummaryrefslogtreecommitdiff
path: root/GPU3D.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'GPU3D.cpp')
-rw-r--r--GPU3D.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/GPU3D.cpp b/GPU3D.cpp
index d7c7f44..02055d5 100644
--- a/GPU3D.cpp
+++ b/GPU3D.cpp
@@ -1436,6 +1436,16 @@ u32 Read32(u32 addr)
(fifolevel < 128 ? (1<<25) : 0) |
(fifolevel == 0 ? (1<<26) : 0);
}
+
+ case 0x04000680: return VecMatrix[0];
+ case 0x04000684: return VecMatrix[1];
+ case 0x04000688: return VecMatrix[2];
+ case 0x0400068C: return VecMatrix[4];
+ case 0x04000690: return VecMatrix[5];
+ case 0x04000694: return VecMatrix[6];
+ case 0x04000698: return VecMatrix[8];
+ case 0x0400069C: return VecMatrix[9];
+ case 0x040006A0: return VecMatrix[10];
}
if (addr >= 0x04000640 && addr < 0x04000680)
@@ -1443,11 +1453,6 @@ u32 Read32(u32 addr)
UpdateClipMatrix();
return ClipMatrix[(addr & 0x3C) >> 2];
}
- if (addr >= 0x04000680 && addr < 0x040006A4)
- {
- printf("!! VECMTX READ\n");
- return 0;
- }
return 0;
}