shithub: choc

Download patch

ref: 966089e8bdc5d2cae9c1b9e889c9ca1405d6c29e
parent: 14cf34bc65d7584984d26eea4154d58770125e60
author: Simon Howard <[email protected]>
date: Sun Aug 22 13:59:12 EDT 2010

Shut up compiler warning.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1964

--- a/opl/dbopl.c
+++ b/opl/dbopl.c
@@ -1239,8 +1239,7 @@
 	}
 }
 
-
-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;
@@ -1247,7 +1246,7 @@
 	case 2:
 		if ( self->opl3Active || (val == 0x05) )
 			return 0x100 | val;
-		else 
+		else
 			return val;
 	}
 	return 0;