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:
Soren Jorvang 2010-05-26 20:48:23 +00:00
parent 3edae70ea0
commit c7c0733dba
1 changed files with 1 additions and 1 deletions

View File

@ -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