summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-01-05 07:53:47 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-01-05 07:53:47 +0100
commit7eaf45fb90841b316b350fb35f59d5bbf09be3e7 (patch)
tree4a9adba9a62945de34663e23f5e12fd194df5b74
parent586d4bf166d91bba3badda38b6dcd1dc447c7589 (diff)
oric.cpp: fixed MT07197 (nw)
-rw-r--r--src/mame/drivers/oric.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mame/drivers/oric.cpp b/src/mame/drivers/oric.cpp
index 2f931263de7..a4906d53fe4 100644
--- a/src/mame/drivers/oric.cpp
+++ b/src/mame/drivers/oric.cpp
@@ -87,6 +87,7 @@ public:
TIMER_CALLBACK_MEMBER(update_tape);
virtual void machine_start() override;
+ virtual void machine_reset() override;
virtual void video_start() override;
uint32_t screen_update_oric(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
DECLARE_WRITE_LINE_MEMBER(vblank_w);
@@ -411,6 +412,11 @@ void oric_state::machine_start()
}
+void oric_state::machine_reset()
+{
+ m_tape_timer->adjust(attotime::from_hz(4800), 0, attotime::from_hz(4800));
+}
+
void telestrat_state::machine_start()
{
machine_start_common();
@@ -428,6 +434,7 @@ void telestrat_state::machine_start()
void telestrat_state::machine_reset()
{
+ m_tape_timer->adjust(attotime::from_hz(4800), 0, attotime::from_hz(4800));
m_port_314 = 0x00;
m_via2_a = 0xff;
remap();