diff --git a/src/mess/drivers/merlin.c b/src/mess/drivers/merlin.c index 929bdc82dce..b8fab811346 100644 --- a/src/mess/drivers/merlin.c +++ b/src/mess/drivers/merlin.c @@ -1,3 +1,9 @@ +/* + + Parker Bros Merlin handheld computer game + +*/ + #include "emu.h" #include "cpu/tms0980/tms0980.h" #include "sound/speaker.h" @@ -14,6 +20,8 @@ public: , m_speaker(*this, "speaker") { } + virtual void machine_start(); + required_device m_speaker; DECLARE_READ8_MEMBER(read_k); @@ -26,8 +34,7 @@ protected: }; - -#define LOG 1 +#define LOG 0 static INPUT_PORTS_START( merlin ) @@ -167,6 +174,13 @@ WRITE16_MEMBER(merlin_state::write_r) } +void merlin_state::machine_start() +{ + save_item(NAME(m_o)); + save_item(NAME(m_r)); +} + + static const tms0980_config merlin_tms0980_config = { {