diff options
| author | 2014-04-07 06:04:18 +0000 | |
|---|---|---|
| committer | 2014-04-07 06:04:18 +0000 | |
| commit | fec65e0b5766ade69e086d1c5b859d97494fce56 (patch) | |
| tree | c22b07938e9ad590184f1276bc2bead6d888a78d /src/mess/machine/ti99 | |
| parent | 30d94e51c53f30187a1bc565ef33e4744319790e (diff) | |
Cleanups and version bumpmame0153
Diffstat (limited to 'src/mess/machine/ti99')
| -rw-r--r-- | src/mess/machine/ti99/990_hd.h | 4 | ||||
| -rw-r--r-- | src/mess/machine/ti99/grom.c | 2 | ||||
| -rw-r--r-- | src/mess/machine/ti99/grom.h | 4 | ||||
| -rw-r--r-- | src/mess/machine/ti99/gromport.c | 14 | ||||
| -rw-r--r-- | src/mess/machine/ti99/speech8.h | 2 |
5 files changed, 13 insertions, 13 deletions
diff --git a/src/mess/machine/ti99/990_hd.h b/src/mess/machine/ti99/990_hd.h index 5445ea45a99..770c2d428d6 100644 --- a/src/mess/machine/ti99/990_hd.h +++ b/src/mess/machine/ti99/990_hd.h @@ -14,7 +14,7 @@ class ti990_hdc_device : public device_t { public: ti990_hdc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + template<class _Object> static devcb2_base &static_set_int_callback(device_t &device, _Object object) { return downcast<ti990_hdc_device &>(device).m_interrupt_callback.set_callback(object); } DECLARE_READ16_MEMBER(read); @@ -62,7 +62,7 @@ private: /* disk geometry */ unsigned int cylinders, heads, sectors_per_track, bytes_per_sector; }; - + UINT16 m_w[8]; devcb2_write_line m_interrupt_callback; diff --git a/src/mess/machine/ti99/grom.c b/src/mess/machine/ti99/grom.c index e519c02f6e8..6fce88c1fb6 100644 --- a/src/mess/machine/ti99/grom.c +++ b/src/mess/machine/ti99/grom.c @@ -94,7 +94,7 @@ */ ti99_grom_device::ti99_grom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : bus8z_device(mconfig, GROM, "TI-99 GROM device", tag, owner, clock, "ti99_grom", __FILE__), - m_gromready(*this) + m_gromready(*this) { } diff --git a/src/mess/machine/ti99/grom.h b/src/mess/machine/ti99/grom.h index 38eb39c048a..1599db84dd3 100644 --- a/src/mess/machine/ti99/grom.h +++ b/src/mess/machine/ti99/grom.h @@ -40,9 +40,9 @@ class ti99_grom_device : public bus8z_device, ti99grom_config { public: ti99_grom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + template<class _Object> static devcb2_base &set_ready_wr_callback(device_t &device, _Object object) { return downcast<ti99_grom_device &>(device).m_gromready.set_callback(object); } - + DECLARE_READ8Z_MEMBER(readz); DECLARE_WRITE8_MEMBER(write); diff --git a/src/mess/machine/ti99/gromport.c b/src/mess/machine/ti99/gromport.c index d8737b56d48..c126ac7bb9f 100644 --- a/src/mess/machine/ti99/gromport.c +++ b/src/mess/machine/ti99/gromport.c @@ -1391,15 +1391,15 @@ static GROM_CONFIG(grom7_config) */ static MACHINE_CONFIG_FRAGMENT( ti99_cartridge ) MCFG_GROM_ADD( GROM3_TAG, grom3_config ) - MCFG_GROM_READY_CALLBACK(WRITELINE(ti99_cartridge_device, ready_line)) + MCFG_GROM_READY_CALLBACK(WRITELINE(ti99_cartridge_device, ready_line)) MCFG_GROM_ADD( GROM4_TAG, grom4_config ) - MCFG_GROM_READY_CALLBACK(WRITELINE(ti99_cartridge_device, ready_line)) + MCFG_GROM_READY_CALLBACK(WRITELINE(ti99_cartridge_device, ready_line)) MCFG_GROM_ADD( GROM5_TAG, grom5_config ) - MCFG_GROM_READY_CALLBACK(WRITELINE(ti99_cartridge_device, ready_line)) + MCFG_GROM_READY_CALLBACK(WRITELINE(ti99_cartridge_device, ready_line)) MCFG_GROM_ADD( GROM6_TAG, grom6_config ) - MCFG_GROM_READY_CALLBACK(WRITELINE(ti99_cartridge_device, ready_line)) + MCFG_GROM_READY_CALLBACK(WRITELINE(ti99_cartridge_device, ready_line)) MCFG_GROM_ADD( GROM7_TAG, grom7_config ) - MCFG_GROM_READY_CALLBACK(WRITELINE(ti99_cartridge_device, ready_line)) + MCFG_GROM_READY_CALLBACK(WRITELINE(ti99_cartridge_device, ready_line)) MACHINE_CONFIG_END machine_config_constructor ti99_cartridge_device::device_mconfig_additions() const @@ -2428,7 +2428,7 @@ rpk* rpk_reader::open(emu_options &options, const char *filename, const char *sy catch (rpk_exception &exp) { newrpk->close(); - if (layout_xml != NULL) xml_file_free(layout_xml); + if (layout_xml != NULL) xml_file_free(layout_xml); if (zipfile != NULL) zip_file_close(zipfile); if (layout_text != NULL) global_free_array(layout_text); @@ -2436,7 +2436,7 @@ rpk* rpk_reader::open(emu_options &options, const char *filename, const char *sy throw exp; } - if (layout_xml != NULL) xml_file_free(layout_xml); + if (layout_xml != NULL) xml_file_free(layout_xml); if (zipfile != NULL) zip_file_close(zipfile); if (layout_text != NULL) global_free_array(layout_text); diff --git a/src/mess/machine/ti99/speech8.h b/src/mess/machine/ti99/speech8.h index ffcfabb89af..9e57dec76f6 100644 --- a/src/mess/machine/ti99/speech8.h +++ b/src/mess/machine/ti99/speech8.h @@ -27,7 +27,7 @@ class ti998_spsyn_device : public bus8z_device { public: ti998_spsyn_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); - + template<class _Object> static devcb2_base &set_ready_wr_callback(device_t &device, _Object object) { return downcast<ti998_spsyn_device &>(device).m_ready.set_callback(object); } DECLARE_READ8Z_MEMBER(readz); |
