Resolve compiler warnings

This commit is contained in:
Barry Harris 2014-07-25 13:44:21 +00:00
parent 848702f0d0
commit 229fb9bb61
5 changed files with 5 additions and 5 deletions

View File

@ -1114,4 +1114,4 @@ struct BurnDriver BurnDrvWc90ba = {
NULL, Wc90baRomInfo, Wc90baRomName, NULL, NULL, Wc90b1InputInfo, Wc90b1DIPInfo,
Wc90b1Init, Wc90b1Exit, Wc90b1Frame, NULL, Wc90b1Scan,
NULL, 0x400, 256, 224, 4, 3
};
};

View File

@ -1017,4 +1017,4 @@ struct BurnDriver BurnDrvBballsa = {
NULL, bballsaRomInfo, bballsaRomName, NULL, NULL, BballsInputInfo, BballsDIPInfo,
bballsInit, DrvExit, DrvFrame, DrvDraw, DrvScan, &DrvRecalc, 0x240,
256, 224, 4, 3
};
};

View File

@ -1441,7 +1441,7 @@ void __fastcall grdiansWriteWord(UINT32 sekAddress, UINT16 wordValue)
}
}
UINT8 __fastcall setaSoundRegReadByte(UINT32 sekAddress)
UINT8 __fastcall setaSoundRegReadByte(UINT32 /*sekAddress*/)
{
//bprintf(PRINT_NORMAL, _T("x1-010 to read byte value of location %x\n"), sekAddress);
return 0;

View File

@ -28,7 +28,7 @@ enum e_ir
T90_DMAEH, T90_SCMOD, T90_SCCR, T90_SCBUF, T90_BX, T90_BY, T90_ADREG, T90_ADMOD
};
#define INLINE inline
#define INLINE static
enum _e_op { UNKNOWN, NOP, EX, EXX, LD, LDW, LDA, LDI, LDIR, LDD, LDDR, CPI, CPIR, CPD, CPDR, PUSH, POP, JP, JR, CALL, CALLR, RET, RETI, HALT, DI, EI, SWI, DAA, CPL, NEG, LDAR, RCF, SCF, CCF, TSET, BIT, SET, RES, INC, DEC, INCX, DECX, INCW, DECW, ADD, ADC, SUB, SBC, AND, XOR, OR, CP, RLC, RRC, RL, RR, SLA, SRA, SLL, SRL, RLD, RRD, DJNZ, MUL, DIV };
typedef UINT8 e_op;

View File

@ -35,7 +35,7 @@ static struct InputInOut *pInputInOut[]=
std::vector<const InputInOut *> InputGetInterfaces()
{
std::vector<const InputInOut *> list;
for (int i = 0; i < INPUT_LEN; i++)
for (unsigned int i = 0; i < INPUT_LEN; i++)
list.push_back(pInputInOut[i]);
return list;
}