diff options
author | Ryan Holtz <therealmogminer@gmail.com> | 2018-05-26 11:47:16 +0200 |
---|---|---|
committer | Ryan Holtz <therealmogminer@gmail.com> | 2018-05-26 11:47:16 +0200 |
commit | 33affeb2f8f95d5a5a3872a77567d30db04afdad (patch) | |
tree | 4b33206656b4d0644b4ade61a5b00f83957d7eff /src/mame/includes | |
parent | 618f42b96e9b0a4ce5e1b71a53badb9a6c6b9743 (diff) |
tp84: device_finder stuff. Also removed a bunch of commented-out stuff that was tripping my device_finder search. (nw)'
Diffstat (limited to 'src/mame/includes')
-rw-r--r-- | src/mame/includes/tp84.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/src/mame/includes/tp84.h b/src/mame/includes/tp84.h index 169f38957a9..7d38587e2c3 100644 --- a/src/mame/includes/tp84.h +++ b/src/mame/includes/tp84.h @@ -1,5 +1,12 @@ // license:BSD-3-Clause // copyright-holders:Aaron Giles + +#ifndef MAME_INCLUDES_TP84 +#define MAME_INCLUDES_TP84 + +#pragma once + +#include "sound/flt_rc.h" #include "screen.h" class tp84_state : public driver_device @@ -20,7 +27,8 @@ public: m_spriteram(*this, "spriteram"), m_gfxdecode(*this, "gfxdecode"), m_screen(*this, "screen"), - m_palette(*this, "palette") { } + m_palette(*this, "palette"), + m_filter(*this, "filter%u", 1U) { } required_device<cpu_device> m_maincpu; required_device<cpu_device> m_subcpu; @@ -36,6 +44,7 @@ public: required_device<gfxdecode_device> m_gfxdecode; required_device<screen_device> m_screen; required_device<palette_device> m_palette; + required_device_array<filter_rc_device, 3> m_filter; tilemap_t *m_bg_tilemap; tilemap_t *m_fg_tilemap; bool m_flipscreen_x; @@ -70,3 +79,5 @@ public: void tp84_cpu1_map(address_map &map); void tp84b_cpu1_map(address_map &map); }; + +#endif // MAME_INCLUDES_TP84
\ No newline at end of file |