From fecfc465df47655554aeb0ea33eccb0f33d498a7 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Mon, 18 Apr 2011 20:06:43 +0000 Subject: Switch from m_machine to machine() everywhere. In some cases this meant adding a machine() accessor but it's worth it for consistency. This will allow future changes from reference to pointer to happen transparently for devices. [Aaron Giles] Simple S&R: m_machine( *[^ (!=;]) machine()\1 --- src/emu/sound/okim6295.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/emu/sound/okim6295.c') diff --git a/src/emu/sound/okim6295.c b/src/emu/sound/okim6295.c index af27711b7d3..c316038f74e 100644 --- a/src/emu/sound/okim6295.c +++ b/src/emu/sound/okim6295.c @@ -177,7 +177,7 @@ void okim6295_device::device_start() // create the stream int divisor = m_config.m_pin7 ? 132 : 165; - m_stream = m_machine.sound().stream_alloc(*this, 0, 1, clock() / divisor); + m_stream = machine().sound().stream_alloc(*this, 0, 1, clock() / divisor); save_item(NAME(m_command)); save_item(NAME(m_bank_offs)); @@ -266,7 +266,7 @@ void okim6295_device::set_bank_base(offs_t base) if (m_bank_installed) { m_bank_offs = base; - memory_set_bankptr(m_machine, tag(), m_region->base() + base); + memory_set_bankptr(machine(), tag(), m_region->base() + base); } } -- cgit v1.2.3-70-g09d2