shithub: choc

Download patch

ref: e986a93409fd717fd01c93199c84ac5788bafebe
parent: ef4c73fc8157ee3be6a41bf1f8bdce82657d715b
author: Simon Howard <fraggle@soulsphere.org>
date: Mon Jun 8 16:04:14 EDT 2015

opl: Add missing function prototype to header.

Since the addition of OPL3 support, compile of opl_sdl.c generates a
warning because the declaration of Chip__GenerateBlock3() was not added
to dbopl.h.

--- a/opl/dbopl.h
+++ b/opl/dbopl.h
@@ -195,6 +195,7 @@
 void Chip__Chip(Chip *self);
 void Chip__WriteReg(Chip *self, Bit32u reg, Bit8u val );
 void Chip__GenerateBlock2(Chip *self, Bitu total, Bit32s* output );
+void Chip__GenerateBlock3(Chip *self, Bitu total, Bit32s* output );
 
 // haleyjd 09/09/10: Not standard C.
 #ifdef _MSC_VER