mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
Duplicate condition fix.
Thanks j4ck.fr0st
This commit is contained in:
parent
1e006b5b99
commit
efe8c75424
2 changed files with 3 additions and 5 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue