fix compile warnings
This commit is contained in:
parent
00ef4f49e5
commit
6d953ad343
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
|
|
|
@ -660,4 +660,3 @@ struct BurnDriver BurnDrvMustache = {
|
|||
DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan, &DrvRecalc, 0x100,
|
||||
248, 240, 3, 4
|
||||
};
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue