Fix debug build

This commit is contained in:
cam900 2022-12-04 21:11:57 +09:00
parent 5da139ec82
commit b8a5d27a4f
12 changed files with 12 additions and 1 deletions

View File

@ -61,6 +61,8 @@ 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 putDispatchChan(void*,int,int);
friend void putDispatchChip(void*,int);
public:
void acquire(short* bufL, short* bufR, size_t start, size_t len);
int dispatch(DivCommand c);

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -19,6 +19,7 @@
#include "debug.h"
#include "imgui.h"
#include "../engine/platform/fmsharedbase.h"
#include "../engine/platform/genesis.h"
#include "../engine/platform/genesisext.h"
#include "../engine/platform/sms.h"