Convert fmopl.cpp over to C

This commit is contained in:
twinaphex 2015-03-24 18:14:52 +01:00
parent 8cb1c48868
commit e6943705b6
2 changed files with 7 additions and 0 deletions

View File

View File

@ -1,6 +1,7 @@
#ifndef __FMOPL_H_
#define __FMOPL_H_
#define HAS_YM3812 1
/* --- select emulation chips --- */
@ -31,6 +32,9 @@ typedef INT16 OPLSAMPLE;
typedef INT8 OPLSAMPLE;
#endif
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*OPL_TIMERHANDLER)(int channel,double interval_Sec);
typedef void (*OPL_IRQHANDLER)(int param,int irq);
@ -110,5 +114,8 @@ void Y8950SetUpdateHandler (int which, OPL_UPDATEHANDLER UpdateHandler, int para
#endif
#ifdef __cplusplus
}
#endif
#endif /* __FMOPL_H_ */