summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/gp32.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gp32.cpp')
-rw-r--r--src/mame/drivers/gp32.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mame/drivers/gp32.cpp b/src/mame/drivers/gp32.cpp
index 9e78be20031..aaafd025e63 100644
--- a/src/mame/drivers/gp32.cpp
+++ b/src/mame/drivers/gp32.cpp
@@ -1606,18 +1606,18 @@ void gp32_state::s3c240x_mmc_w(offs_t offset, uint32_t data, uint32_t mem_mask)
void gp32_state::s3c240x_machine_start()
{
- m_s3c240x_pwm_timer[0] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_pwm_timer_exp),this));
- m_s3c240x_pwm_timer[1] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_pwm_timer_exp),this));
- m_s3c240x_pwm_timer[2] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_pwm_timer_exp),this));
- m_s3c240x_pwm_timer[3] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_pwm_timer_exp),this));
- m_s3c240x_pwm_timer[4] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_pwm_timer_exp),this));
- m_s3c240x_dma_timer[0] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_dma_timer_exp),this));
- m_s3c240x_dma_timer[1] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_dma_timer_exp),this));
- m_s3c240x_dma_timer[2] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_dma_timer_exp),this));
- m_s3c240x_dma_timer[3] = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_dma_timer_exp),this));
- m_s3c240x_iic_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_iic_timer_exp),this));
- m_s3c240x_iis_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_iis_timer_exp),this));
- m_s3c240x_lcd_timer = machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(gp32_state::s3c240x_lcd_timer_exp),this));
+ m_s3c240x_pwm_timer[0] = timer_alloc(FUNC(gp32_state::s3c240x_pwm_timer_exp), this);
+ m_s3c240x_pwm_timer[1] = timer_alloc(FUNC(gp32_state::s3c240x_pwm_timer_exp), this);
+ m_s3c240x_pwm_timer[2] = timer_alloc(FUNC(gp32_state::s3c240x_pwm_timer_exp), this);
+ m_s3c240x_pwm_timer[3] = timer_alloc(FUNC(gp32_state::s3c240x_pwm_timer_exp), this);
+ m_s3c240x_pwm_timer[4] = timer_alloc(FUNC(gp32_state::s3c240x_pwm_timer_exp), this);
+ m_s3c240x_dma_timer[0] = timer_alloc(FUNC(gp32_state::s3c240x_dma_timer_exp), this);
+ m_s3c240x_dma_timer[1] = timer_alloc(FUNC(gp32_state::s3c240x_dma_timer_exp), this);
+ m_s3c240x_dma_timer[2] = timer_alloc(FUNC(gp32_state::s3c240x_dma_timer_exp), this);
+ m_s3c240x_dma_timer[3] = timer_alloc(FUNC(gp32_state::s3c240x_dma_timer_exp), this);
+ m_s3c240x_iic_timer = timer_alloc(FUNC(gp32_state::s3c240x_iic_timer_exp), this);
+ m_s3c240x_iis_timer = timer_alloc(FUNC(gp32_state::s3c240x_iis_timer_exp), this);
+ m_s3c240x_lcd_timer = timer_alloc(FUNC(gp32_state::s3c240x_lcd_timer_exp), this);
m_eeprom_data = std::make_unique<uint8_t[]>(0x2000); // a dump of the EEPROM (S524AB0X91) resulted to be 0x1000
m_nvram->set_base(m_eeprom_data.get(), 0x2000);
smc_init();