diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2020-06-30 19:53:00 +0200 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2020-06-30 19:53:00 +0200 |
commit | 2123d82d90ed13a8ed13689d77f718c76e836a85 (patch) | |
tree | c25679c317e5fba18301ddebe360c290343b1499 /src/mame/includes/namcos2.h | |
parent | 50a008dd20320b543a00e603dce83da78712e840 (diff) |
namcos2.cpp: enabled save state support (nw)
Diffstat (limited to 'src/mame/includes/namcos2.h')
-rw-r--r-- | src/mame/includes/namcos2.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mame/includes/namcos2.h b/src/mame/includes/namcos2.h index 46cda26b59e..383eab59c38 100644 --- a/src/mame/includes/namcos2.h +++ b/src/mame/includes/namcos2.h @@ -126,6 +126,11 @@ public: void init_marvland(); void init_rthun2(); +protected: + virtual void machine_start() override; + virtual void machine_reset() override; + virtual void video_start() override; + private: enum @@ -202,7 +207,6 @@ enum void system_reset_w(uint8_t data); void reset_all_subcpus(int state); - virtual void video_start() override; void video_start_luckywld(); void video_start_metlhawk(); void video_start_sgunner(); @@ -218,9 +222,6 @@ enum uint16_t gfx_ctrl_r(); void gfx_ctrl_w(offs_t offset, uint16_t data, uint16_t mem_mask = ~0); - virtual void machine_start() override; - virtual void machine_reset() override; - void create_shadow_table(); void apply_clip( rectangle &clip, const rectangle &cliprect ); @@ -230,7 +231,6 @@ enum required_shared_ptr<uint8_t> m_dpram; /* 2Kx8 */ optional_shared_ptr<uint16_t> m_spriteram; uint16_t m_gfx_ctrl; - uint16_t m_serial_comms_ctrl[0x8]; unsigned m_finallap_prot_count; int m_sendval; @@ -241,11 +241,11 @@ enum uint16_t namcos2_68k_key_r(offs_t offset); void namcos2_68k_key_w(offs_t offset, uint16_t data); uint16_t namcos2_finallap_prot_r(offs_t offset); - void GollyGhostUpdateLED_c4( int data ); - void GollyGhostUpdateLED_c6( int data ); - void GollyGhostUpdateLED_c8( int data ); - void GollyGhostUpdateLED_ca( int data ); - void GollyGhostUpdateDiorama_c0( int data ); + void GollyGhostUpdateLED_c4(int data); + void GollyGhostUpdateLED_c6(int data); + void GollyGhostUpdateLED_c8(int data); + void GollyGhostUpdateLED_ca(int data); + void GollyGhostUpdateDiorama_c0(int data); void TilemapCB(uint16_t code, int *tile, int *mask); void TilemapCB_finalap2(uint16_t code, int *tile, int *mask); void RozCB_luckywld(uint16_t code, int *tile, int *mask, int which); |