fix compile warnings

This commit is contained in:
Barry Harris 2014-04-20 12:09:04 +00:00
parent 00ef4f49e5
commit 6d953ad343
6 changed files with 7 additions and 8 deletions

View File

@ -22,4 +22,4 @@ void t5182_setirq_callback(INT32 param);
void t5182Reset();
void t5182Init(int nZ80CPU, int clock);
void t5182Exit();
INT32 t5182Scan(INT32 nAction);
INT32 t5182Scan(INT32 nAction);

View File

@ -207,7 +207,7 @@ static void register_w(INT32 offset, UINT8 data)
case 0x20: m_yshift = 7; break;
case 0x40: m_yshift = 8; break;
case 0x80: m_yshift = 9; break;
default: logerror("Invalid value for XYOFFSET = %04x\n", m_regs[TMS34061_XYOFFSET]); break;
default: /*logerror("Invalid value for XYOFFSET = %04x\n", m_regs[TMS34061_XYOFFSET]);*/ break;
}
m_xmask = (1 << m_yshift) - 1;
break;

View File

@ -14757,4 +14757,4 @@ struct BurnDriverD BurnDrvsamsho5x = {
NULL, samsho5xRomInfo, samsho5xRomName, NULL, NULL, neogeoInputInfo, neogeoDIPInfo,
NeoInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
0x1000, 304, 224, 4, 3
};
};

View File

@ -660,4 +660,3 @@ struct BurnDriver BurnDrvMustache = {
DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan, &DrvRecalc, 0x100,
248, 240, 3, 4
};

View File

@ -709,9 +709,9 @@ void nesapuUpdate(int chip, INT16 *buf, INT32 samples)
INT16 *stream = info->stream;
UINT32 step = (info->samples_per_frame << 12) / nBurnSoundLen;
UINT32 pos = 0;
INT32 pos = 0;
for (int i = 0; i < samples; i++) {
for (INT32 i = 0; i < samples; i++) {
if ((pos>>12) >= info->samples_per_frame) pos = (info->samples_per_frame-1) << 12;
INT16 output = stream[pos>>12];

View File

@ -711,9 +711,9 @@ void vlm5030Update(int nChip, INT16 *buf, INT32 samples)
INT16 *stream = chip->output;
UINT32 step = (chip->samples_per_frame << 12) / nBurnSoundLen;
UINT32 pos = 0;
INT32 pos = 0;
for (int i = 0; i < samples; i++) {
for (INT32 i = 0; i < samples; i++) {
if ((pos>>12) >= chip->samples_per_frame) pos = (chip->samples_per_frame-1) << 12;
INT16 output = stream[pos>>12];