summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/segas16b.h
diff options
context:
space:
mode:
author David Haywood <mamehaze@users.noreply.github.com>2016-02-27 10:50:41 +0000
committer David Haywood <mamehaze@users.noreply.github.com>2016-02-27 10:50:41 +0000
commite0e7151a1664bc3cab40e972ad7a6c24e1ed5008 (patch)
treea9d7b37937db82a3e60103c143aa41f3bfe9e002 /src/mame/includes/segas16b.h
parentff26df5e0f122199faa268ee7396c04ebb8e0c67 (diff)
improve lockonph video emulation (nw)
Diffstat (limited to 'src/mame/includes/segas16b.h')
-rw-r--r--src/mame/includes/segas16b.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/includes/segas16b.h b/src/mame/includes/segas16b.h
index 28f783dbd15..7d536b7f326 100644
--- a/src/mame/includes/segas16b.h
+++ b/src/mame/includes/segas16b.h
@@ -49,6 +49,7 @@ public:
m_hwc_input_value(0),
m_mj_input_num(0),
m_mj_last_val(0),
+ m_spritepalbase(0x400),
m_gfxdecode(*this, "gfxdecode"),
m_sound_decrypted_opcodes(*this, "sound_decrypted_opcodes"),
m_decrypted_opcodes(*this, "decrypted_opcodes")
@@ -88,7 +89,7 @@ public:
DECLARE_DRIVER_INIT(generic_5358_small);
DECLARE_DRIVER_INIT(generic_5797);
DECLARE_DRIVER_INIT(generic_korean);
-
+ DECLARE_DRIVER_INIT(lockonph);
// game-specific driver init
DECLARE_DRIVER_INIT(isgsm);
DECLARE_DRIVER_INIT(tturf_5704);
@@ -208,6 +209,7 @@ protected:
UINT8 m_hwc_input_value;
UINT8 m_mj_input_num;
UINT8 m_mj_last_val;
+ int m_spritepalbase;
required_device<gfxdecode_device> m_gfxdecode;
optional_shared_ptr<UINT8> m_sound_decrypted_opcodes;