summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2021-02-23 17:47:59 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2021-02-23 17:47:59 +0100
commit69bb4015f614cb5565b45b1a0cb80ca3d00587c2 (patch)
treeae803948cf8a66caef90fe452784075e0f47a520 /src/mame/includes
parent216bf17394b58323065e0f5d06ecede841c25411 (diff)
fromanc2, hp_ipc, hp3478a, hp80, hp9k_3xx, inder, iris3130, news_r3k, pc4: initialized some variables which were causing incorrect behaviours in drvnoclear debug builds
Diffstat (limited to 'src/mame/includes')
-rw-r--r--src/mame/includes/fromanc2.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/includes/fromanc2.h b/src/mame/includes/fromanc2.h
index 18cd7e1a474..46bbb870d6b 100644
--- a/src/mame/includes/fromanc2.h
+++ b/src/mame/includes/fromanc2.h
@@ -39,6 +39,9 @@ public:
DECLARE_READ_LINE_MEMBER(sndcpu_nmi_r);
DECLARE_READ_LINE_MEMBER(subcpu_nmi_r);
+protected:
+ virtual void machine_reset() override;
+
private:
/* memory pointers */
std::unique_ptr<uint16_t[]> m_videoram[2][4];
@@ -108,7 +111,6 @@ private:
template<int VRAM, int Layer> TILE_GET_INFO_MEMBER(fromanc2_get_tile_info);
template<int VRAM, int Layer> TILE_GET_INFO_MEMBER(fromancr_get_tile_info);
- virtual void machine_reset() override;
DECLARE_MACHINE_START(fromanc2);
DECLARE_VIDEO_START(fromanc2);
DECLARE_VIDEO_START(fromancr);