aboutsummaryrefslogtreecommitdiff
path: root/sound/softsynth/opl/dosbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sound/softsynth/opl/dosbox.cpp')
-rw-r--r--sound/softsynth/opl/dosbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/softsynth/opl/dosbox.cpp b/sound/softsynth/opl/dosbox.cpp
index 03c014ecfa..9b3cab57c6 100644
--- a/sound/softsynth/opl/dosbox.cpp
+++ b/sound/softsynth/opl/dosbox.cpp
@@ -177,7 +177,7 @@ struct Handler : public DOSBox::Handler {
uint32 writeAddr(uint32 port, uint8 val) {
adlib_write_index(port, val);
- return index;
+ return opl_index;
}
void generate(int16 *chan, uint samples) {