get rid of some "auto" (nw)

This commit is contained in:
hap 2017-11-21 19:53:48 +01:00
parent c9d4b7a6ed
commit 0fd5d5abc2
3 changed files with 6 additions and 6 deletions

View File

@ -34,7 +34,7 @@ Package: P = 60-Pin Plastic DIP
Temp: S = 0C to +70C
E = -40C to +85C
Environmanetal Flow: C = Plastic Standard
Environmental Flow: C = Plastic Standard
Example from Ms.Pac-Man/Galaga - 20 year Reunion hardare (see src/mame/drivers/20pacgal.c):
@ -2538,12 +2538,12 @@ void z180_device::execute_set_input(int irqline, int state)
/* the main execute loop will take the interrupt */
} else if(irqline == Z180_INPUT_LINE_DREQ0) {
auto iol = m_iol & ~Z180_DREQ0;
uint32_t iol = m_iol & ~Z180_DREQ0;
if(state == ASSERT_LINE)
iol |= Z180_DREQ0;
z180_write_iolines(iol);
} else if(irqline == Z180_INPUT_LINE_DREQ1) {
auto iol = m_iol & ~Z180_DREQ1;
uint32_t iol = m_iol & ~Z180_DREQ1;
if(state == ASSERT_LINE)
iol |= Z180_DREQ1;
z180_write_iolines(iol);

View File

@ -427,8 +427,8 @@ READ8_MEMBER(ymz774_device::read)
{
m_stream->update();
uint8_t res = 0;
auto bank = (m_cur_reg == 0xe3) ? 8 : 0;
for (auto i = 0; i < 8; i++)
int bank = (m_cur_reg == 0xe3) ? 8 : 0;
for (int i = 0; i < 8; i++)
if (m_channels[i + bank].is_playing)
res |= 1 << i;
return res;

View File

@ -366,7 +366,7 @@ WRITE_LINE_MEMBER(gaelco3d_state::fp_analog_clock_w)
if (m_fp_clock == 28)
{
m_fp_clock = 0;
for (auto i = 0; i < 2; i++)
for (int i = 0; i < 2; i++)
{
u32 ay = m_analog[i * 2].read_safe(0);
u32 ax = m_analog[i * 2 + 1].read_safe(0);