diff --git a/src/mame/includes/galaxold.h b/src/mame/includes/galaxold.h index c6ed3ae8621..cb1a503a837 100644 --- a/src/mame/includes/galaxold.h +++ b/src/mame/includes/galaxold.h @@ -66,7 +66,6 @@ public: UINT8 m__4in1_bank; tilemap_t *m_bg_tilemap; tilemap_t *m_rockclim_tilemap; - int m_mooncrst_gfxextend; int m_spriteram2_present; UINT8 m_gfxbank[5]; UINT8 m_flipscreen_x; diff --git a/src/mame/includes/scramble.h b/src/mame/includes/scramble.h index 20c26b47a8c..6c44551e48d 100644 --- a/src/mame/includes/scramble.h +++ b/src/mame/includes/scramble.h @@ -22,8 +22,6 @@ public: optional_shared_ptr m_soundram; UINT8 m_cavelon_bank; - UINT8 m_security_2B_counter; - UINT8 m_xb; // harem UINT8 m_harem_decrypt_mode; @@ -83,8 +81,6 @@ public: DECLARE_DRIVER_INIT(billiard); DECLARE_MACHINE_RESET(scramble); DECLARE_MACHINE_RESET(explorer); - DECLARE_WRITE8_MEMBER(scramble_protection_w); - DECLARE_READ8_MEMBER(scramble_protection_r); DECLARE_WRITE_LINE_MEMBER(scramble_sh_7474_q_callback); void cavelon_banksw(); inline int bit(int i,int n); diff --git a/src/mame/machine/scramble.c b/src/mame/machine/scramble.c index 1588999a577..cb1199489c5 100644 --- a/src/mame/machine/scramble.c +++ b/src/mame/machine/scramble.c @@ -19,8 +19,6 @@ MACHINE_RESET_MEMBER(scramble_state,scramble) if (m_audiocpu != NULL) sh_init(); - - m_security_2B_counter = 0; } MACHINE_RESET_MEMBER(scramble_state,explorer) @@ -49,29 +47,6 @@ CUSTOM_INPUT_MEMBER(scramble_state::darkplnt_custom_r) /* state of the security PAL (6J) */ -WRITE8_MEMBER(scramble_state::scramble_protection_w) -{ - m_xb = data; -} - -READ8_MEMBER(scramble_state::scramble_protection_r) -{ - switch (m_maincpu->pc()) - { - case 0x00a8: return 0xf0; - case 0x00be: return 0xb0; - case 0x0c1d: return 0xf0; - case 0x0c6a: return 0xb0; - case 0x0ceb: return 0x40; - case 0x0d37: return 0x60; - case 0x1ca2: return 0x00; /* I don't think it's checked */ - case 0x1d7e: return 0xb0; - default: - logerror("%s: read protection\n",machine().describe_context()); - return 0; - } -} - READ8_MEMBER(scramble_state::mariner_protection_1_r ) { diff --git a/src/mame/video/galaxold.c b/src/mame/video/galaxold.c index 99c80a769b2..e9ae486b0dd 100644 --- a/src/mame/video/galaxold.c +++ b/src/mame/video/galaxold.c @@ -404,8 +404,6 @@ void galaxold_state::video_start_common() m_modify_color = 0; m_modify_ypos = 0; - m_mooncrst_gfxextend = 0; - m_draw_bullets = 0; m_draw_background = &galaxold_state::galaxold_draw_background;