diff options
Diffstat (limited to 'src/mame/includes/vtech2.h')
-rw-r--r-- | src/mame/includes/vtech2.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mame/includes/vtech2.h b/src/mame/includes/vtech2.h index 4e6582adc9c..ee1ee965ddd 100644 --- a/src/mame/includes/vtech2.h +++ b/src/mame/includes/vtech2.h @@ -5,10 +5,11 @@ * includes/vtech2.h * ****************************************************************************/ - #ifndef MAME_INCLUDES_VTECH2_H #define MAME_INCLUDES_VTECH2_H +#pragma once + #include "machine/bankdev.h" #include "bus/generic/carts.h" #include "bus/generic/slot.h" @@ -49,14 +50,16 @@ public: DECLARE_INPUT_CHANGED_MEMBER(reset_button); +protected: + virtual void machine_reset() override; + private: DECLARE_WRITE8_MEMBER(laser_bank_select_w); DECLARE_WRITE8_MEMBER(laser_fdc_w); DECLARE_WRITE8_MEMBER(laser_bg_mode_w); DECLARE_WRITE8_MEMBER(laser_two_color_w); DECLARE_READ8_MEMBER(laser_fdc_r); - virtual void machine_reset() override; - DECLARE_PALETTE_INIT(vtech2); + void vtech2_palette(palette_device &palette) const; uint32_t screen_update_laser(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); INTERRUPT_GEN_MEMBER(vtech2_interrupt); DECLARE_WRITE8_MEMBER(mmio_w); @@ -112,5 +115,4 @@ private: memory_region *m_cart_rom; }; - #endif // MAME_INCLUDES_VTECH2_H |