summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--src/devices/bus/plg1x0/plg1x0.cpp2
-rw-r--r--src/devices/bus/plg1x0/plg1x0.h2
-rw-r--r--src/devices/bus/svi3x8/expander/expander.cpp5
-rw-r--r--src/devices/bus/svi3x8/expander/expander.h2
-rw-r--r--src/devices/bus/waveblaster/waveblaster.cpp2
-rw-r--r--src/devices/bus/waveblaster/waveblaster.h2
-rw-r--r--src/devices/sound/mixer.cpp2
-rw-r--r--src/devices/sound/mixer.h2
-rw-r--r--src/mame/miltonbradley/milton6805.cpp2
-rw-r--r--src/mame/shared/gottlieb_a.cpp4
-rw-r--r--src/mame/shared/gottlieb_a.h4
-rw-r--r--src/mame/shared/williamssound.cpp8
-rw-r--r--src/mame/shared/williamssound.h8
13 files changed, 23 insertions, 22 deletions
diff --git a/src/devices/bus/plg1x0/plg1x0.cpp b/src/devices/bus/plg1x0/plg1x0.cpp
index 939b4265e5d..1bbded3ff18 100644
--- a/src/devices/bus/plg1x0/plg1x0.cpp
+++ b/src/devices/bus/plg1x0/plg1x0.cpp
@@ -19,7 +19,7 @@ plg1x0_connector::plg1x0_connector(const machine_config &mconfig, const char *ta
void plg1x0_connector::device_start()
{
- save_item(NAME(m_state_system_is_annoying));
+ save_item(NAME(m_dummy_save));
}
void plg1x0_connector::midi_rx(int state)
diff --git a/src/devices/bus/plg1x0/plg1x0.h b/src/devices/bus/plg1x0/plg1x0.h
index b4917ba9b39..dd7186a58b0 100644
--- a/src/devices/bus/plg1x0/plg1x0.h
+++ b/src/devices/bus/plg1x0/plg1x0.h
@@ -53,7 +53,7 @@ public:
void do_midi_tx(int state) { m_midi_tx(state); }
protected:
- bool m_state_system_is_annoying = true;
+ bool m_dummy_save = false; // needed for save-state support
devcb_write_line m_midi_tx;
virtual void device_start() override ATTR_COLD;
diff --git a/src/devices/bus/svi3x8/expander/expander.cpp b/src/devices/bus/svi3x8/expander/expander.cpp
index 652e32467b5..e75be84a7ba 100644
--- a/src/devices/bus/svi3x8/expander/expander.cpp
+++ b/src/devices/bus/svi3x8/expander/expander.cpp
@@ -38,8 +38,7 @@ svi_expander_device::svi_expander_device(const machine_config &mconfig, const ch
m_ctrl1_handler(*this),
m_ctrl2_handler(*this),
m_excsr_handler(*this, 0xff),
- m_excsw_handler(*this),
- m_dummy(0)
+ m_excsw_handler(*this)
{
}
@@ -61,7 +60,7 @@ void svi_expander_device::device_start()
m_module = get_card_device();
// register for save states
- save_item(NAME(m_dummy));
+ save_item(NAME(m_dummy_save));
}
//-------------------------------------------------
diff --git a/src/devices/bus/svi3x8/expander/expander.h b/src/devices/bus/svi3x8/expander/expander.h
index 393b0fb2761..997f10afc1e 100644
--- a/src/devices/bus/svi3x8/expander/expander.h
+++ b/src/devices/bus/svi3x8/expander/expander.h
@@ -113,7 +113,7 @@ private:
devcb_read8 m_excsr_handler;
devcb_write8 m_excsw_handler;
- uint8_t m_dummy; // needed for save-state support
+ bool m_dummy_save = false; // needed for save-state support
};
diff --git a/src/devices/bus/waveblaster/waveblaster.cpp b/src/devices/bus/waveblaster/waveblaster.cpp
index fc019ff62e1..a1a12323879 100644
--- a/src/devices/bus/waveblaster/waveblaster.cpp
+++ b/src/devices/bus/waveblaster/waveblaster.cpp
@@ -22,7 +22,7 @@ waveblaster_connector::waveblaster_connector(const machine_config &mconfig, cons
void waveblaster_connector::device_start()
{
- save_item(NAME(m_state_system_is_annoying));
+ save_item(NAME(m_dummy_save));
}
void waveblaster_connector::midi_rx(int state)
diff --git a/src/devices/bus/waveblaster/waveblaster.h b/src/devices/bus/waveblaster/waveblaster.h
index 4276d8d31cc..47d6558f966 100644
--- a/src/devices/bus/waveblaster/waveblaster.h
+++ b/src/devices/bus/waveblaster/waveblaster.h
@@ -31,7 +31,7 @@ public:
void do_midi_tx(int state) { m_midi_tx(state); }
protected:
- bool m_state_system_is_annoying = true;
+ bool m_dummy_save = false; // needed for save-state support
devcb_write_line m_midi_tx;
virtual void device_start() override ATTR_COLD;
diff --git a/src/devices/sound/mixer.cpp b/src/devices/sound/mixer.cpp
index ba57be9b10c..e92dc8fbfe1 100644
--- a/src/devices/sound/mixer.cpp
+++ b/src/devices/sound/mixer.cpp
@@ -28,5 +28,5 @@ mixer_device::mixer_device(const machine_config &mconfig, const char *tag, devic
void mixer_device::device_start()
{
// register for save states
- save_item(NAME(m_dummy));
+ save_item(NAME(m_dummy_save));
}
diff --git a/src/devices/sound/mixer.h b/src/devices/sound/mixer.h
index f3a26030ea1..f467ec6d636 100644
--- a/src/devices/sound/mixer.h
+++ b/src/devices/sound/mixer.h
@@ -24,7 +24,7 @@ protected:
virtual void device_start() override ATTR_COLD;
private:
- u8 m_dummy = 0; // needed for save-state support
+ bool m_dummy_save = false; // needed for save-state support
};
#endif // MAME_SOUND_MIXER_H
diff --git a/src/mame/miltonbradley/milton6805.cpp b/src/mame/miltonbradley/milton6805.cpp
index 6fb89baba0d..4d590550329 100644
--- a/src/mame/miltonbradley/milton6805.cpp
+++ b/src/mame/miltonbradley/milton6805.cpp
@@ -91,6 +91,7 @@ protected:
private:
sound_stream *m_stream = nullptr;
output_finder<> m_led_out;
+ bool m_dummy_save = false; // needed for save-state support
};
DEFINE_DEVICE_TYPE(MILTON_LED_FILTER, milton_filter_device, "milton_led_filter", "Milton LED Filter")
@@ -106,6 +107,7 @@ void milton_filter_device::device_start()
{
m_stream = stream_alloc(1, 1, machine().sample_rate());
m_led_out.resolve();
+ save_item(NAME(m_dummy_save));
}
void milton_filter_device::sound_stream_update(sound_stream &stream)
diff --git a/src/mame/shared/gottlieb_a.cpp b/src/mame/shared/gottlieb_a.cpp
index 59f9450576f..c54d4c0f3b3 100644
--- a/src/mame/shared/gottlieb_a.cpp
+++ b/src/mame/shared/gottlieb_a.cpp
@@ -151,7 +151,7 @@ void gottlieb_sound_p2_device::device_add_mconfig(machine_config &config)
void gottlieb_sound_p2_device::device_start()
{
// register for save states
- save_item(NAME(m_dummy));
+ save_item(NAME(m_dummy_save));
}
@@ -370,7 +370,7 @@ void gottlieb_sound_r1_device::device_add_mconfig(machine_config &config)
void gottlieb_sound_r1_device::device_start()
{
// register for save states
- save_item(NAME(m_dummy));
+ save_item(NAME(m_dummy_save));
}
diff --git a/src/mame/shared/gottlieb_a.h b/src/mame/shared/gottlieb_a.h
index a246f884444..7ec6bc6de12 100644
--- a/src/mame/shared/gottlieb_a.h
+++ b/src/mame/shared/gottlieb_a.h
@@ -71,7 +71,7 @@ protected:
required_device<mos6530_device> m_r6530;
private:
- u8 m_dummy; // needed for save-state support
+ bool m_dummy_save = false; // needed for save-state support
};
@@ -129,7 +129,7 @@ protected:
required_device<mos6532_device> m_riot;
private:
- u8 m_dummy; // needed for save-state support
+ bool m_dummy_save = false; // needed for save-state support
};
diff --git a/src/mame/shared/williamssound.cpp b/src/mame/shared/williamssound.cpp
index 5c88c4c3264..dd7df345a6b 100644
--- a/src/mame/shared/williamssound.cpp
+++ b/src/mame/shared/williamssound.cpp
@@ -915,7 +915,7 @@ void williams_s4_sound_device::device_add_mconfig(machine_config &config)
void williams_s4_sound_device::device_start()
{
// register for save states
- save_item(NAME(m_dummy));
+ save_item(NAME(m_dummy_save));
}
//-------------------------------------------------
@@ -1032,7 +1032,7 @@ void williams_s6_sound_device::device_add_mconfig(machine_config &config)
void williams_s6_sound_device::device_start()
{
// register for save states
- save_item(NAME(m_dummy));
+ save_item(NAME(m_dummy_save));
}
//-------------------------------------------------
@@ -1143,7 +1143,7 @@ void williams_s9_sound_device::device_add_mconfig(machine_config &config)
void williams_s9_sound_device::device_start()
{
// register for save states
- save_item(NAME(m_dummy));
+ save_item(NAME(m_dummy_save));
}
//-------------------------------------------------
@@ -1262,7 +1262,7 @@ void williams_s11_sound_device::device_start()
membank("bank1")->configure_entries(0, 2, &ROM[0x8000], 0x4000);
// register for save states
- save_item(NAME(m_dummy));
+ save_item(NAME(m_dummy_save));
}
//-------------------------------------------------
diff --git a/src/mame/shared/williamssound.h b/src/mame/shared/williamssound.h
index 29434ca990f..67b92f760ab 100644
--- a/src/mame/shared/williamssound.h
+++ b/src/mame/shared/williamssound.h
@@ -223,7 +223,7 @@ private:
void williams_s4_map(address_map &map) ATTR_COLD;
required_device<m6808_cpu_device> m_cpu;
required_device<pia6821_device> m_pia;
- u8 m_dummy = 0; // needed for save-state support
+ bool m_dummy_save = false; // needed for save-state support
};
@@ -254,7 +254,7 @@ private:
required_device<m6802_cpu_device> m_cpu;
required_device<pia6821_device> m_pia;
required_device<hc55516_device> m_hc;
- u8 m_dummy = 0; // needed for save-state support
+ bool m_dummy_save = false; // needed for save-state support
};
@@ -285,7 +285,7 @@ private:
required_device<m6802_cpu_device> m_cpu;
required_device<pia6821_device> m_pia;
required_device<hc55516_device> m_hc;
- u8 m_dummy = 0; // needed for save-state support
+ bool m_dummy_save = false; // needed for save-state support
};
@@ -317,7 +317,7 @@ private:
required_device<m6802_cpu_device> m_cpu;
required_device<pia6821_device> m_pia;
required_device<hc55516_device> m_hc;
- u8 m_dummy = 0; // needed for save-state support
+ bool m_dummy_save = false; // needed for save-state support
};
#endif // MAME_SHARED_WILLIAMSSOUND_H