Merge pull request #4834 from cam900/audio_geebee_args

audio/geebee.cpp : Simplify handlers, Fix notes
This commit is contained in:
R. Belmont 2019-03-31 10:33:30 -04:00 committed by GitHub
commit ddaf904747
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
// copyright-holders:Juergen Buchmueller
/****************************************************************************
*
* geebee.c
* geebee.cpp
*
* sound driver
* juergen buchmueller <pullmoll@t-online.de>, jan 2000
@ -68,7 +68,7 @@ void geebee_sound_device::device_timer(emu_timer &timer, device_timer_id id, int
}
}
WRITE8_MEMBER( geebee_sound_device::sound_w )
void geebee_sound_device::sound_w(u8 data)
{
m_channel->update();
m_sound_latch = data;

View File

@ -15,7 +15,7 @@ public:
TIMER_VOLUME_DECAY
};
DECLARE_WRITE8_MEMBER( sound_w );
void sound_w(u8 data);
protected:
// device-level overrides

View File

@ -196,7 +196,7 @@ WRITE8_MEMBER(warpwarp_state::geebee_out6_w)
/* n.c. */
break;
case 3:
m_geebee_sound->sound_w(space,0,data);
m_geebee_sound->sound_w(data);
break;
}
}