summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2021-03-04 13:18:00 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2021-03-04 13:18:00 +0100
commite3d0004eed9f933844fbf8db6a9f78174fecd3c6 (patch)
tree80550ace7b2d69fbbdefc353f697b2b308358636 /src/mame/includes
parent606be5dbc35551bbef4232b526bc2187e0541a87 (diff)
apple2gs, pc9801, slapshot, viper, x68k: initialized some variables which were causing incorrect behaviours in drvnoclear debug builds
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/slapshot.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/includes/slapshot.h b/src/mame/includes/slapshot.h
index 9463402b898..68deee608d3 100644
--- a/src/mame/includes/slapshot.h
+++ b/src/mame/includes/slapshot.h
@@ -88,7 +88,9 @@ private:
s32 m_sprites_master_scrolly;
bool m_sprites_flipscreen;
bool m_prepare_sprites;
- int m_dislayer[5];
+#ifdef MAME_DEBUG
+ int m_dislayer[5] = { 0, 0, 0, 0, 0 };
+#endif
emu_timer *m_int6_timer;