mirror of
https://github.com/holub/mame
synced 2025-05-22 05:38:52 +03:00
Fixed compilation error.
This commit is contained in:
parent
6ff116e204
commit
22f672af59
@ -65,10 +65,10 @@ static DEVICE_START( wave )
|
|||||||
const device_config *image = NULL;
|
const device_config *image = NULL;
|
||||||
|
|
||||||
assert( device != NULL );
|
assert( device != NULL );
|
||||||
assert( device->static_config != NULL );
|
assert( device->baseconfig().static_config != NULL );
|
||||||
|
|
||||||
#ifdef MESS
|
#ifdef MESS
|
||||||
image = device->machine->device( (const char *)device->static_config );
|
image = device->machine->device( (const char *)device->baseconfig().static_config );
|
||||||
#endif
|
#endif
|
||||||
stream_create(device, 0, 2, device->machine->sample_rate, (void *)image, wave_sound_update);
|
stream_create(device, 0, 2, device->machine->sample_rate, (void *)image, wave_sound_update);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user