From 1c024519d538c34431362678c925ea99958ddb6b Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 1 Oct 2012 01:50:23 +0200 Subject: AUDIO: Add easy way to write to OPL3's secondary register set. --- audio/fmopl.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'audio/fmopl.h') 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 -- cgit v1.2.3