aboutsummaryrefslogtreecommitdiff
path: root/audio/fmopl.h
diff options
context:
space:
mode:
authorJohannes Schickel2012-10-01 01:50:23 +0200
committerJohannes Schickel2012-10-01 01:50:23 +0200
commit1c024519d538c34431362678c925ea99958ddb6b (patch)
treedc5f27b8b38ec2e4023163bb6684954bc58e2a39 /audio/fmopl.h
parent04baadcf7a205b3da7b830463f2189b4e018330f (diff)
downloadscummvm-rg350-1c024519d538c34431362678c925ea99958ddb6b.tar.gz
scummvm-rg350-1c024519d538c34431362678c925ea99958ddb6b.tar.bz2
scummvm-rg350-1c024519d538c34431362678c925ea99958ddb6b.zip
AUDIO: Add easy way to write to OPL3's secondary register set.
Diffstat (limited to 'audio/fmopl.h')
-rw-r--r--audio/fmopl.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/fmopl.h b/audio/fmopl.h
index 323cc3d028..ad1794d873 100644
--- a/audio/fmopl.h
+++ b/audio/fmopl.h
@@ -129,7 +129,9 @@ public:
/**
* Function to directly write to a specific OPL register.
- * This writes to *both* chips for a Dual OPL2.
+ * This writes to *both* chips for a Dual OPL2. We allow
+ * writing to secondary OPL registers by using register
+ * values >= 0x100.
*
* @param r hardware register number to write to
* @param v value, which will be written