Removing meaningless conditional
reg[0].I is unsigned so checking if it is greater than or equal to zero is always true by definition. Fixes #578
This commit is contained in:
parent
045e95ab4e
commit
3041e3262b
|
@ -456,7 +456,7 @@ void BIOS_EReader_ScanCard(int swi_num)
|
||||||
THUMB_PREFETCH
|
THUMB_PREFETCH
|
||||||
} else if ((swi_num == 0xE3) || (swi_num == 0xE5)) //Dotcode data
|
} else if ((swi_num == 0xE3) || (swi_num == 0xE5)) //Dotcode data
|
||||||
{
|
{
|
||||||
if ((reg[0].I >= 0) && (reg[0].I <= 0x10)) {
|
if (reg[0].I <= 0x10) {
|
||||||
if (decodestate == 0) {
|
if (decodestate == 0) {
|
||||||
for (i = 0x17; i >= 0; i--) {
|
for (i = 0x17; i >= 0; i--) {
|
||||||
if ((0x17 - i) < 8)
|
if ((0x17 - i) < 8)
|
||||||
|
|
Loading…
Reference in New Issue