foxygit / doom Log in
commit e986a93409fd717fd01c93199c84ac5788bafebe
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Mon Jun 8 20:04:14 2015 -0400
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Mon Jun 8 20:04:14 2015 -0400

    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.
---
 opl/dbopl.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/opl/dbopl.h b/opl/dbopl.h
index 71bfc959..a8b857b3 100644
--- a/opl/dbopl.h
+++ b/opl/dbopl.h
@@ -195,6 +195,7 @@ void DBOPL_InitTables( void );
 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