diff --git a/src/mame/drivers/sidepckt.cpp b/src/mame/drivers/sidepckt.cpp index 620b6543d8d..ca1b2cf24c6 100644 --- a/src/mame/drivers/sidepckt.cpp +++ b/src/mame/drivers/sidepckt.cpp @@ -491,7 +491,9 @@ ROM_END void sidepckt_state::init_sidepckt() { - save_item(NAME(m_scroll_y)); + save_item(NAME(m_mcu_p1)); + save_item(NAME(m_mcu_p2)); + save_item(NAME(m_mcu_p3)); } diff --git a/src/mame/includes/sidepckt.h b/src/mame/includes/sidepckt.h index d19f5d07da1..4906bf6f8bd 100644 --- a/src/mame/includes/sidepckt.h +++ b/src/mame/includes/sidepckt.h @@ -35,7 +35,10 @@ public: void sidepckt(machine_config &config); void init_sidepckt(); - void init_sidepcktj(); + +protected: + virtual void machine_reset() override; + virtual void video_start() override; private: required_device m_maincpu; @@ -50,7 +53,6 @@ private: required_shared_ptr m_spriteram; tilemap_t *m_bg_tilemap; - const uint8_t* m_prot_table[3]; uint8_t m_mcu_p1; uint8_t m_mcu_p2; @@ -72,8 +74,6 @@ private: TILE_GET_INFO_MEMBER(get_tile_info); - virtual void machine_reset() override; - virtual void video_start() override; void sidepckt_palette(palette_device &palette) const; uint32_t screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); diff --git a/src/mame/video/sidepckt.cpp b/src/mame/video/sidepckt.cpp index e57b3a86ba0..90cf122c262 100644 --- a/src/mame/video/sidepckt.cpp +++ b/src/mame/video/sidepckt.cpp @@ -77,6 +77,8 @@ void sidepckt_state::video_start() m_bg_tilemap->set_transmask(1,0x01,0xfe); /* split type 1 has pen 0 transparent in front half */ machine().tilemap().set_flip_all(TILEMAP_FLIPX); + + save_item(NAME(m_scroll_y)); }