mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
Add clock to MCFG and remove defaulting to firstcpu->clock()
This commit is contained in:
parent
c54f37e00f
commit
69d348a465
@ -76,11 +76,6 @@ void r10788_device::device_start()
|
||||
save_item(NAME(m_scan_counter));
|
||||
|
||||
m_timer = timer_alloc(TIMER_DISPLAY);
|
||||
/* Default clock is from CPU1 */
|
||||
if (clock() == 0)
|
||||
{
|
||||
set_unscaled_clock(machine().firstcpu->clock());
|
||||
}
|
||||
m_timer->adjust(clocks_to_attotime(36));
|
||||
}
|
||||
|
||||
|
@ -266,7 +266,7 @@ static MACHINE_CONFIG_START( gts1, gts1_state )
|
||||
//MCFG_NVRAM_ADD_0FILL("nvram")
|
||||
|
||||
/* General Purpose Display and Keyboard */
|
||||
MCFG_DEVICE_ADD( "r10788", R10788, 0 )
|
||||
MCFG_DEVICE_ADD( "r10788", R10788, XTAL_3_579545MHz / 18 ) // divided in the circuit
|
||||
MCFG_R10788_UPDATE( WRITE8(gts1_state,gts1_display_w) )
|
||||
|
||||
/* Video */
|
||||
|
Loading…
Reference in New Issue
Block a user