mirror of
https://github.com/libretro/libretro-wolfenstein3d.git
synced 2024-11-23 16:39:41 +00:00
Convert fmopl.cpp over to C
This commit is contained in:
parent
8cb1c48868
commit
e6943705b6
7
fmopl.h
7
fmopl.h
@ -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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user