Unnecessary non-negative check of unsigned variable.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5487 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3edae70ea0
commit
c7c0733dba
|
@ -70,7 +70,7 @@ static void ProcessUpdates(AXPB &PB)
|
|||
const u16 upddata = Memory_Read_U16(updaddr + j*4 + 2);
|
||||
// some safety checks, I hope it's enough
|
||||
if (updaddr > 0x80000000 && updaddr < 0x817fffff
|
||||
&& updpar < 63 && updpar > 3 && upddata >= 0 // updpar > 3 because we don't want to change
|
||||
&& updpar < 63 && updpar > 3 // updpar > 3 because we don't want to change
|
||||
// 0-3, those are important
|
||||
//&& (upd0 || upd1 || upd2 || upd3 || upd4) // We should use these in some way to I think
|
||||
// but I don't know how or when
|
||||
|
|
Loading…
Reference in New Issue