mirror of
https://github.com/holub/mame
synced 2025-04-25 17:56:43 +03:00
Sync with MESS (no whatsnew)
This commit is contained in:
parent
95d77623ee
commit
b383296ea9
@ -1357,6 +1357,14 @@ WRITE16_DEVICE_HANDLER( spb640_w )
|
||||
}
|
||||
}
|
||||
|
||||
void sp0256_set_clock(device_t *device, int clock)
|
||||
{
|
||||
sp0256_state *sp = get_safe_token(device);
|
||||
|
||||
device->set_unscaled_clock(clock);
|
||||
sp->stream->set_sample_rate(clock / CLOCK_DIVIDER);
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
* Generic get_info
|
||||
**************************************************************************/
|
||||
|
@ -61,6 +61,8 @@ struct _sp0256_interface
|
||||
|
||||
void sp0256_bitrevbuff(UINT8 *buffer, unsigned int start, unsigned int length);
|
||||
|
||||
void sp0256_set_clock(device_t *device, int clock);
|
||||
|
||||
WRITE8_DEVICE_HANDLER( sp0256_ALD_w );
|
||||
|
||||
READ_LINE_DEVICE_HANDLER( sp0256_lrq_r );
|
||||
|
Loading…
Reference in New Issue
Block a user