commit 966089e8bdc5d2cae9c1b9e889c9ca1405d6c29e
Author: Simon Howard <fraggle@gmail.com>
AuthorDate: Sun Aug 22 17:59:12 2010 +0000
Commit: Simon Howard <fraggle@gmail.com>
CommitDate: Sun Aug 22 17:59:12 2010 +0000
Shut up compiler warning.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1964
---
opl/dbopl.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/opl/dbopl.c b/opl/dbopl.c
index a4bd6fe5..159cae45 100644
--- a/opl/dbopl.c
+++ b/opl/dbopl.c
@@ -1239,15 +1239,14 @@ void Chip__WriteReg(Chip *self, Bit32u reg, Bit8u val ) {
}
}
-
-static Bit32u Chip__WriteAddr(Chip *self, Bit32u port, Bit8u val ) {
+Bit32u Chip__WriteAddr(Chip *self, Bit32u port, Bit8u val ) {
switch ( port & 3 ) {
case 0:
return val;
case 2:
if ( self->opl3Active || (val == 0x05) )
return 0x100 | val;
- else
+ else
return val;
}
return 0;