aboutsummaryrefslogtreecommitdiff
path: root/sound/fmopl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/fmopl.cpp')
-rw-r--r--sound/fmopl.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/fmopl.cpp b/sound/fmopl.cpp
index 7b5d4522ec..8d52b688cb 100644
--- a/sound/fmopl.cpp
+++ b/sound/fmopl.cpp
@@ -74,9 +74,8 @@ void YM3812UpdateOne(FM_OPL *OPL, int16 *buffer, int length) {
OPL->readBuffer(buffer, length);
}
-// Factory method
FM_OPL *makeAdlibOPL(int rate) {
- FM_OPL *opl = OPL::OPL::create();
+ FM_OPL *opl = OPL::OPL::create(OPL::OPL::kOpl2);
if (opl) {
if (!opl->init(rate)) {