summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/batman.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2016-01-23 22:57:16 -0500
committer AJR <ajrhacker@users.noreply.github.com>2016-01-23 22:57:16 -0500
commit9b61eb0b6ba923783487d5b246fe512d2b126831 (patch)
treed583fd3ea2ea88636a9a9b9bccf6783cb188a269 /src/mame/drivers/batman.cpp
parent41462ec4376d5e305f984d289cb5f15e19c3f82d (diff)
Pass and return palette devices by reference, not as pointers
- Add screen_device::has_palette() - Require device_gfx_interface::gfx() and palette() to access members - Getters for atari_vad_device return devices as references, not pointers
Diffstat (limited to 'src/mame/drivers/batman.cpp')
-rw-r--r--src/mame/drivers/batman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/batman.cpp b/src/mame/drivers/batman.cpp
index 00e1c69c5e6..69b0aae9e7a 100644
--- a/src/mame/drivers/batman.cpp
+++ b/src/mame/drivers/batman.cpp
@@ -76,7 +76,7 @@ WRITE16_MEMBER(batman_state::latch_w)
if ((oldword ^ m_latch_data) & 0x7000)
{
m_screen->update_partial(m_screen->vpos());
- m_vad->alpha()->mark_all_dirty();
+ m_vad->alpha().mark_all_dirty();
m_alpha_tile_bank = (m_latch_data >> 12) & 7;
}
}