diff options
| author | hrydgard <hrydgard@gmail.com> | 2009-02-09 20:35:30 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2009-02-09 20:35:30 +0000 |
| commit | d209d4a577ccaade93ecde00fe37c68741602948 (patch) | |
| tree | fda0b26c61afb729a17dd1e3a52bc3eb996bdad4 /Source/Core/VideoCommon/Src/CPMemory.cpp | |
| parent | 5edef947536c1dc7aef41603530ad9b5545cd4f0 (diff) | |
Cache vertex array pointers, a la magumagu's idea. Misc other stuff. Should give very minor speed boost.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2185 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/VideoCommon/Src/CPMemory.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/CPMemory.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/CPMemory.cpp b/Source/Core/VideoCommon/Src/CPMemory.cpp index 32cd4f0b32..a51c2d1454 100644 --- a/Source/Core/VideoCommon/Src/CPMemory.cpp +++ b/Source/Core/VideoCommon/Src/CPMemory.cpp @@ -21,6 +21,7 @@ // CP state // STATE_TO_SAVE u32 arraybases[16]; +u8 *cached_arraybases[16]; u32 arraystrides[16]; TMatrixIndexA MatrixIndexA; TMatrixIndexB MatrixIndexB; |
