mirror of
https://github.com/holub/mame
synced 2025-06-03 19:36:26 +03:00
rm old and obsolete hack
This commit is contained in:
parent
7144c2ae78
commit
fee0f44df1
@ -191,11 +191,6 @@ static DEVICE_START( seibu_adpcm )
|
||||
state->m_playing = 0;
|
||||
state->m_stream = device->machine().sound().stream_alloc(*device, 0, 1, device->clock(), state, seibu_adpcm_callback);
|
||||
state->m_base = machine.region(intf->rom_region)->base();
|
||||
|
||||
// because legacy device tokens are just allocated as a blob, the constructor for oki_adpcm_state
|
||||
// is not called, so use placement new to force it to set up; when this is converted to a
|
||||
// modern device, we can remove this grossness
|
||||
new(&state->m_adpcm) oki_adpcm_state;
|
||||
state->m_adpcm.reset();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user