diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 20:48:23 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2010-05-26 20:48:23 +0000 |
| commit | c7c0733dba7446c4818c74ef199a00dbfa722a2f (patch) | |
| tree | 660f51841daf4685bd2a948629b4a71deb846627 /Source | |
| parent | 3edae70ea0bbede6d9ed57a91af9532101bd7ef8 (diff) | |
Unnecessary non-negative check of unsigned variable.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5487 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
| -rw-r--r-- | Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp index 1ede963e88..6960465f6e 100644 --- a/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp +++ b/Source/Plugins/Plugin_DSP_HLE/Src/UCodes/UCode_AX.cpp @@ -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 |
