Silence other warnings
This commit is contained in:
parent
ba2513b511
commit
ac2a56be7f
|
@ -1086,10 +1086,11 @@ int cheatsCheckKeys(uint32_t keys, uint32_t extended)
|
|||
break;
|
||||
case GSA_32_BIT_WRITE_IOREGS:
|
||||
if (cheatsList[i].address <= 0x3FF) {
|
||||
if (((cheatsList[i].address & 0x3FC) != 0x6) && ((cheatsList[i].address & 0x3FC) != 0x130))
|
||||
ioMem[cheatsList[i].address & 0x3FC] = (cheatsList[i].value & 0xFFFF);
|
||||
if ((((cheatsList[i].address & 0x3FC) + 2) != 0x6) && ((cheatsList[i].address & 0x3FC) + 2) != 0x130)
|
||||
ioMem[(cheatsList[i].address & 0x3FC) + 2] = ((cheatsList[i].value >> 16) & 0xFFFF);
|
||||
uint32_t cheat_addr = cheatsList[i].address & 0x3FC;
|
||||
if ((cheat_addr != 6) && (cheat_addr != 0x130))
|
||||
ioMem[cheat_addr] = (cheatsList[i].value & 0xFFFF);
|
||||
if (((cheat_addr + 2) != 0x6) && (cheat_addr + 2) != 0x130)
|
||||
ioMem[cheat_addr + 2] = ((cheatsList[i].value >> 16) & 0xFFFF);
|
||||
}
|
||||
break;
|
||||
case GSA_8_BIT_IF_TRUE3:
|
||||
|
|
|
@ -456,7 +456,7 @@ void BIOS_EReader_ScanCard(int swi_num)
|
|||
THUMB_PREFETCH
|
||||
} else if ((swi_num == 0xE3) || (swi_num == 0xE5)) //Dotcode data
|
||||
{
|
||||
if ((reg[0].I >= 0) && (reg[0].I <= 0x10)) {
|
||||
if (((int)reg[0].I >= 0) && (reg[0].I <= 0x10)) {
|
||||
if (decodestate == 0) {
|
||||
for (i = 0x17; i >= 0; i--) {
|
||||
if ((0x17 - i) < 8)
|
||||
|
|
Loading…
Reference in New Issue