summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/BPStructs.cpp
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2013-01-28 22:00:47 +1300
committerMatthew Parlane <parlane@gmail.com>2013-01-28 22:00:47 +1300
commit2dd077028fdaa296827864e70252b4e992b26c65 (patch)
tree6a65b5dc0c1566239f603bf1590a2eace73b46e6 /Source/Core/VideoCommon/Src/BPStructs.cpp
parented9ef874e581aa2ff5c47ec58e7b741e160b026e (diff)
parenta8d4c78cec87e864cfa5410f14687d13308e38d7 (diff)
Merge branch 'master' into wii-network
Diffstat (limited to 'Source/Core/VideoCommon/Src/BPStructs.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/BPStructs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp
index 9ba2afbbd1..af263235cd 100644
--- a/Source/Core/VideoCommon/Src/BPStructs.cpp
+++ b/Source/Core/VideoCommon/Src/BPStructs.cpp
@@ -520,7 +520,7 @@ void BPWritten(const BPCmd& bp)
for (u32 i = 0; i < tmem_cfg.preload_tile_info.count; ++i)
{
if (tmem_addr_even + TMEM_LINE_SIZE > TMEM_SIZE ||
- tmem_addr_even + TMEM_LINE_SIZE > TMEM_SIZE)
+ tmem_addr_odd + TMEM_LINE_SIZE > TMEM_SIZE)
break;
memcpy(texMem + tmem_addr_even, src_ptr, TMEM_LINE_SIZE);