Add clock to MCFG and remove defaulting to firstcpu->clock()

This commit is contained in:
jbu 2014-12-09 14:26:50 +01:00
parent c54f37e00f
commit 69d348a465
2 changed files with 1 additions and 6 deletions

View File

@ -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));
}

View File

@ -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 */