aboutsummaryrefslogtreecommitdiff
path: root/src/chips/dosbox_opl3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chips/dosbox_opl3.cpp')
-rw-r--r--src/chips/dosbox_opl3.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/chips/dosbox_opl3.cpp b/src/chips/dosbox_opl3.cpp
index f192930..fa30e68 100644
--- a/src/chips/dosbox_opl3.cpp
+++ b/src/chips/dosbox_opl3.cpp
@@ -37,6 +37,11 @@ DosBoxOPL3::~DosBoxOPL3()
delete chip_r;
}
+void DosBoxOPL3::globalPreInit()
+{
+ DBOPL::InitTables();
+}
+
void DosBoxOPL3::setRate(uint32_t rate)
{
OPLChipBaseBufferedT::setRate(rate);