diff options
| author | Lioncash <mathew1800@gmail.com> | 2013-01-25 21:30:29 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2013-01-25 21:30:29 -0500 |
| commit | efe8c754249a9d43a6093655f265a912b30a0f09 (patch) | |
| tree | eb18ec97f62dfffc4b7f2b0fffba20099439f0ce /Source/Core/VideoCommon/Src/BPStructs.cpp | |
| parent | 1e006b5b99cc520798988dc9b810d9b1ecae384d (diff) | |
Duplicate condition fix.
Thanks j4ck.fr0st
Diffstat (limited to 'Source/Core/VideoCommon/Src/BPStructs.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/Src/BPStructs.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/Src/BPStructs.cpp b/Source/Core/VideoCommon/Src/BPStructs.cpp index add40d99c3..af263235cd 100644 --- a/Source/Core/VideoCommon/Src/BPStructs.cpp +++ b/Source/Core/VideoCommon/Src/BPStructs.cpp @@ -519,9 +519,8 @@ void BPWritten(const BPCmd& bp) for (u32 i = 0; i < tmem_cfg.preload_tile_info.count; ++i) { - // FIXME: Duplicate conditions. 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); |
