summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/popeye.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/popeye.h')
-rw-r--r--src/mame/includes/popeye.h15
1 files changed, 13 insertions, 2 deletions
diff --git a/src/mame/includes/popeye.h b/src/mame/includes/popeye.h
index de3d341a735..7b09497d135 100644
--- a/src/mame/includes/popeye.h
+++ b/src/mame/includes/popeye.h
@@ -25,7 +25,17 @@ public:
m_videoram(*this, "videoram"),
m_colorram(*this, "colorram"),
m_color_prom(*this, "proms"),
- m_color_prom_spr(*this, "sprpal")
+ m_color_prom_spr(*this, "sprpal"),
+ m_background_scroll{0,0,0},
+ m_fg_tilemap(nullptr),
+ m_palette_bank(0),
+ m_palette_bank_cache(0),
+ m_prot0(0),
+ m_prot1(0),
+ m_prot_shift(0),
+ m_dswbit(0),
+ m_nmi_enabled(false),
+ m_field(0)
{ }
DECLARE_READ_LINE_MEMBER(dsw1_read);
@@ -58,12 +68,13 @@ protected:
tilemap_t *m_fg_tilemap;
uint8_t m_palette_bank;
uint8_t m_palette_bank_cache;
- int m_field;
uint8_t m_prot0;
uint8_t m_prot1;
uint8_t m_prot_shift;
uint8_t m_dswbit;
bool m_nmi_enabled;
+ int m_field;
+ std::unique_ptr<bitmap_ind16> m_bitmap[2]; // bitmaps for fields
virtual DECLARE_WRITE8_MEMBER(refresh_w);
DECLARE_READ8_MEMBER(protection_r);