summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/gtia.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/gtia.c')
-rw-r--r--src/mame/video/gtia.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mame/video/gtia.c b/src/mame/video/gtia.c
index d4cfab69181..fc261fa3519 100644
--- a/src/mame/video/gtia.c
+++ b/src/mame/video/gtia.c
@@ -240,13 +240,16 @@ void gtia_device::device_start()
void gtia_device::device_reset()
{
- /* reset the GTIA read/write/helper registers */
- for (int i = 0; i < 32; i++)
- write(machine().driver_data()->generic_space(), i, 0);
memset(&m_r, 0, sizeof(m_r));
memset(&m_h, 0, sizeof(m_h));
memset(m_color_lookup, 0, sizeof(m_color_lookup));
+ m_lumpf1 = 0;
+
+ /* reset the GTIA read/write/helper registers */
+ for (int i = 0; i < 32; i++)
+ write(machine().driver_data()->generic_space(), i, 0);
+
if (is_ntsc())
m_r.pal = 0xff;
else
@@ -265,7 +268,6 @@ void gtia_device::device_reset()
SETCOL_B(ILL, 0x3e); /* bright red */
SETCOL_B(EOR, 0xff); /* yellow */
- m_lumpf1 = 0;
m_huepm0 = 0;
m_huepm1 = 0;
m_huepm2 = 0;