aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorMatthew Hoops2015-04-03 01:05:03 -0400
committerMatthew Hoops2015-07-07 20:19:42 -0400
commit2e8f9dcec93653f1bd1f115662f9fcf3a5581fd8 (patch)
treee843e3f7de6172b24f4c54b260d663f9c0cc4a80 /engines/gob
parentf1f29302f5401c4782985cec4d47d069b99036ee (diff)
downloadscummvm-rg350-2e8f9dcec93653f1bd1f115662f9fcf3a5581fd8.tar.gz
scummvm-rg350-2e8f9dcec93653f1bd1f115662f9fcf3a5581fd8.tar.bz2
scummvm-rg350-2e8f9dcec93653f1bd1f115662f9fcf3a5581fd8.zip
AUDIO: Remove the sample rate configuration from the OPL code
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/sound/adlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/sound/adlib.cpp b/engines/gob/sound/adlib.cpp
index 65b43cae7a..b92e20b42c 100644
--- a/engines/gob/sound/adlib.cpp
+++ b/engines/gob/sound/adlib.cpp
@@ -136,7 +136,7 @@ void AdLib::createOPL() {
}
_opl = OPL::Config::create(OPL::Config::parse(oplDriver), OPL::Config::kOpl2);
- if (!_opl || !_opl->init(_rate)) {
+ if (!_opl || !_opl->init()) {
delete _opl;
error("Could not create an AdLib emulator");