diff options
Diffstat (limited to 'src/mame/includes/policetr.h')
-rw-r--r-- | src/mame/includes/policetr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/includes/policetr.h b/src/mame/includes/policetr.h index f95b0af9f16..972761af697 100644 --- a/src/mame/includes/policetr.h +++ b/src/mame/includes/policetr.h @@ -9,6 +9,7 @@ #include "cpu/mips/mips1.h" #include "machine/eepromser.h" #include "sound/bsmt2000.h" +#include "video/ramdac.h" #include "emupal.h" #include "screen.h" #include "speaker.h" @@ -39,6 +40,7 @@ protected: m_eeprom(*this, "eeprom"), m_screen(*this, "screen"), m_palette(*this, "palette"), + m_ramdac(*this, "ramdac"), m_leds(*this, "leds%u", 0U), m_gun_x_io(*this, "GUNX%u", 1U), m_gun_y_io(*this, "GUNY%u", 1U), @@ -50,6 +52,8 @@ protected: void mem(address_map &map); + void ramdac_map(address_map& map); + DECLARE_WRITE32_MEMBER(control_w); DECLARE_WRITE32_MEMBER(speedup_w); @@ -59,8 +63,6 @@ protected: DECLARE_WRITE32_MEMBER(video_w); DECLARE_READ32_MEMBER(video_r); - DECLARE_WRITE8_MEMBER(palette_offset_w); - DECLARE_WRITE8_MEMBER(palette_data_w); DECLARE_WRITE_LINE_MEMBER(vblank); void render_display_list(offs_t offset); uint32_t screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect); @@ -75,6 +77,7 @@ protected: required_device<eeprom_serial_93cxx_device> m_eeprom; required_device<screen_device> m_screen; required_device<palette_device> m_palette; + required_device<ramdac_device> m_ramdac; enum { @@ -97,9 +100,6 @@ protected: uint32_t m_loop_count; offs_t m_speedup_pc; offs_t m_speedup_addr; - uint32_t m_palette_offset; - uint8_t m_palette_index; - uint8_t m_palette_data[3]; rectangle m_render_clip; std::unique_ptr<bitmap_ind8> m_dstbitmap; uint16_t m_src_xoffs; |