diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2016-01-10 18:41:17 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2016-01-10 18:41:17 +0100 |
commit | f9f908d48bd3607f8ddf529eb6b83c2b4b0b9790 (patch) | |
tree | 5d0008d8b4e1e9eb6acda88b16c81b1883c66e06 /src/mame/drivers/ecoinf3.cpp | |
parent | 3e5ad46410db4d3b3d8bd4b4bb84c3cdce2b1bfd (diff) |
modernize output_manager (nw)
Diffstat (limited to 'src/mame/drivers/ecoinf3.cpp')
-rw-r--r-- | src/mame/drivers/ecoinf3.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/drivers/ecoinf3.cpp b/src/mame/drivers/ecoinf3.cpp index 3073fdc2852..7d863ab9d66 100644 --- a/src/mame/drivers/ecoinf3.cpp +++ b/src/mame/drivers/ecoinf3.cpp @@ -174,7 +174,7 @@ public: { int data = ((m_lamps[i] << bit)&0x8000)>>15; - output_set_indexed_value("lamp", (i*16)+bit, data ); + machine().output().set_indexed_value("lamp", (i*16)+bit, data ); } } @@ -229,8 +229,8 @@ public: m_reel0->update( data &0x0f); m_reel1->update((data>>4)&0x0f); - awp_draw_reel("reel1", m_reel0); - awp_draw_reel("reel2", m_reel1); + awp_draw_reel(machine(),"reel1", m_reel0); + awp_draw_reel(machine(),"reel2", m_reel1); } DECLARE_WRITE8_MEMBER(ppi8255_intf_d_write_b_reel23) @@ -240,8 +240,8 @@ public: m_reel2->update( data &0x0f); m_reel3->update((data>>4)&0x0f); - awp_draw_reel("reel3", m_reel2); - awp_draw_reel("reel4", m_reel3); + awp_draw_reel(machine(),"reel3", m_reel2); + awp_draw_reel(machine(),"reel4", m_reel3); } DECLARE_WRITE8_MEMBER(ppi8255_intf_d_write_c) { logerror("%04x - ppi8255_intf_d_(used)write_c %02x\n", m_maincpu->pcbase(), data);} @@ -354,7 +354,7 @@ void ecoinf3_state::update_display() { for (int i =0; i<14; i++) { - output_set_indexed_value("vfd", i, set_display(m_chars[i]) ); + machine().output().set_indexed_value("vfd", i, set_display(m_chars[i]) ); } } |