Fix build

This commit is contained in:
cam900 2022-12-04 21:08:13 +09:00
parent 47574fdede
commit 5da139ec82
11 changed files with 7 additions and 29 deletions

View File

@ -60,10 +60,7 @@ class DivPlatformArcade: public DivPlatformOPM {
void acquire_nuked(short* bufL, short* bufR, size_t start, size_t len);
void acquire_ymfm(short* bufL, short* bufR, size_t start, size_t len);
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
public:
void acquire(short* bufL, short* bufR, size_t start, size_t len);
int dispatch(DivCommand c);

View File

@ -123,6 +123,9 @@ class DivPlatformFMBase: public DivDispatch {
}
}
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
DivPlatformFMBase():
DivDispatch(),
lastBusy(0),

View File

@ -56,10 +56,7 @@ class DivPlatformTX81Z: public DivPlatformOPM {
int octave(int freq);
int toFreq(int freq);
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
public:
void acquire(short* bufL, short* bufR, size_t start, size_t len);
int dispatch(DivCommand c);

View File

@ -50,10 +50,7 @@ class DivPlatformYM2203: public DivPlatformOPN {
bool extMode, noExtMacros;
unsigned char prescale;
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
public:
void acquire(short* bufL, short* bufR, size_t start, size_t len);
int dispatch(DivCommand c);

View File

@ -24,8 +24,6 @@
class DivPlatformYM2203Ext: public DivPlatformYM2203 {
OPNOpChannel opChan[4];
bool isOpMuted[4];
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
public:
int dispatch(DivCommand c);
void* getChanState(int chan);

View File

@ -65,9 +65,7 @@ class DivPlatformYM2608: public DivPlatformOPN {
double NOTE_OPNB(int ch, int note);
double NOTE_ADPCMB(int note);
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
public:
void acquire(short* bufL, short* bufR, size_t start, size_t len);
int dispatch(DivCommand c);

View File

@ -24,8 +24,6 @@
class DivPlatformYM2608Ext: public DivPlatformYM2608 {
OPNOpChannelStereo opChan[4];
bool isOpMuted[4];
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
public:
int dispatch(DivCommand c);
void* getChanState(int chan);

View File

@ -35,9 +35,6 @@ class DivPlatformYM2610: public DivPlatformYM2610Base<14> {
1, 2, 4, 5
};
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
public:
void acquire(short* bufL, short* bufR, size_t start, size_t len);
int dispatch(DivCommand c);

View File

@ -31,9 +31,6 @@ class DivPlatformYM2610B: public DivPlatformYM2610Base<16> {
0, 1, 2, 4, 5, 6
};
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
public:
void acquire(short* bufL, short* bufR, size_t start, size_t len);
int dispatch(DivCommand c);

View File

@ -24,8 +24,6 @@
class DivPlatformYM2610BExt: public DivPlatformYM2610B {
OPNOpChannelStereo opChan[4];
bool isOpMuted[4];
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
public:
int dispatch(DivCommand c);
void* getChanState(int chan);

View File

@ -24,8 +24,6 @@
class DivPlatformYM2610Ext: public DivPlatformYM2610 {
OPNOpChannelStereo opChan[4];
bool isOpMuted[4];
friend void putDispatchChip(void*,int);
friend void putDispatchChan(void*,int,int);
public:
int dispatch(DivCommand c);
void* getChanState(int chan);