fix crash on noise enable

This commit is contained in:
Michaël Banaan Ananas 2012-12-21 22:37:05 +00:00
parent f7ad6844aa
commit f280aa1340

View File

@ -70,7 +70,7 @@ public:
/* FIXME: Really needed? - Should be handled by either interface */
WRITE8_MEMBER(dambustr_state::dambustr_noise_enable_w)
{
device_t *device = machine().device("GAL_AUDIO");
device_t *device = machine().device(GAL_AUDIO);
if (data != m_noise_data) {
m_noise_data = data;
galaxian_noise_enable_w(device, space, offset, data);