diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2014-04-23 13:56:01 +0000 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2014-04-23 13:56:01 +0000 |
commit | 856a4c71191c4a4e69c2c85f417b7a6e2bfea36c (patch) | |
tree | f2cc36925bc104c3e86c7267e0af7a9572afe119 /src/mame/drivers/cubeqst.c | |
parent | 248c2ced08e1657b0014761f405bbfeb8308cea1 (diff) |
Moved m_generic_paletteram_* into drivers/device state objects so they are not global anymore (nw)
Diffstat (limited to 'src/mame/drivers/cubeqst.c')
-rw-r--r-- | src/mame/drivers/cubeqst.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/cubeqst.c b/src/mame/drivers/cubeqst.c index 86cfcb3c9af..efa11c23ebf 100644 --- a/src/mame/drivers/cubeqst.c +++ b/src/mame/drivers/cubeqst.c @@ -34,7 +34,8 @@ public: m_rotatecpu(*this, "rotate_cpu"), m_linecpu(*this, "line_cpu"), m_soundcpu(*this, "sound_cpu"), - m_screen(*this, "screen") { } + m_screen(*this, "screen"), + m_generic_paletteram_16(*this, "paletteram") { } UINT8 *m_depth_buffer; int m_video_field; @@ -45,6 +46,7 @@ public: required_device<cquestlin_cpu_device> m_linecpu; required_device<cquestsnd_cpu_device> m_soundcpu; required_device<screen_device> m_screen; + required_shared_ptr<UINT16> m_generic_paletteram_16; rgb_t *m_colormap; DECLARE_WRITE16_MEMBER(palette_w); DECLARE_READ16_MEMBER(line_r); |