summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/zr107.cpp
diff options
context:
space:
mode:
author Ville Linde <villedevs@gmail.com>2016-06-06 23:36:12 +0300
committer Ville Linde <villedevs@gmail.com>2016-06-06 23:39:06 +0300
commit728e18f768df7d530322ae8706c687ae349a566e (patch)
tree13dfefceab66f513edcb98ac6ebe562f5710d43a /src/mame/drivers/zr107.cpp
parent758aaa496aa546a372fd3f21612395a2dd65826e (diff)
runtime enable for sharcdrc (nw)
Diffstat (limited to 'src/mame/drivers/zr107.cpp')
-rw-r--r--src/mame/drivers/zr107.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mame/drivers/zr107.cpp b/src/mame/drivers/zr107.cpp
index 8f82b41b10e..2b07dbee0d1 100644
--- a/src/mame/drivers/zr107.cpp
+++ b/src/mame/drivers/zr107.cpp
@@ -216,7 +216,7 @@ public:
required_device<ppc_device> m_maincpu;
required_device<cpu_device> m_audiocpu;
- required_device<cpu_device> m_dsp;
+ required_device<adsp21062_device> m_dsp;
required_device<watchdog_timer_device> m_watchdog;
optional_device<k001604_device> m_k001604;
required_device<k056800_device> m_k056800;
@@ -911,6 +911,8 @@ DRIVER_INIT_MEMBER(zr107_state,common)
m_sharc_dataram = std::make_unique<UINT32[]>(0x100000/4);
m_led_reg0 = m_led_reg1 = 0x7f;
m_ccu_vcth = m_ccu_vctl = 0;
+
+ m_dsp->enable_recompiler();
}
DRIVER_INIT_MEMBER(zr107_state,zr107)