Fix debug build
This commit is contained in:
parent
5da139ec82
commit
b8a5d27a4f
|
@ -61,6 +61,8 @@ class DivPlatformArcade: public DivPlatformOPM {
|
||||||
void acquire_nuked(short* bufL, short* bufR, size_t start, size_t len);
|
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);
|
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:
|
public:
|
||||||
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
||||||
int dispatch(DivCommand c);
|
int dispatch(DivCommand c);
|
||||||
|
|
|
@ -123,7 +123,6 @@ class DivPlatformFMBase: public DivDispatch {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
friend void putDispatchChip(void*,int);
|
|
||||||
friend void putDispatchChan(void*,int,int);
|
friend void putDispatchChan(void*,int,int);
|
||||||
|
|
||||||
DivPlatformFMBase():
|
DivPlatformFMBase():
|
||||||
|
|
|
@ -57,6 +57,7 @@ class DivPlatformTX81Z: public DivPlatformOPM {
|
||||||
int octave(int freq);
|
int octave(int freq);
|
||||||
int toFreq(int freq);
|
int toFreq(int freq);
|
||||||
|
|
||||||
|
friend void putDispatchChip(void*,int);
|
||||||
public:
|
public:
|
||||||
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
||||||
int dispatch(DivCommand c);
|
int dispatch(DivCommand c);
|
||||||
|
|
|
@ -51,6 +51,7 @@ class DivPlatformYM2203: public DivPlatformOPN {
|
||||||
bool extMode, noExtMacros;
|
bool extMode, noExtMacros;
|
||||||
unsigned char prescale;
|
unsigned char prescale;
|
||||||
|
|
||||||
|
friend void putDispatchChip(void*,int);
|
||||||
public:
|
public:
|
||||||
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
||||||
int dispatch(DivCommand c);
|
int dispatch(DivCommand c);
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
class DivPlatformYM2203Ext: public DivPlatformYM2203 {
|
class DivPlatformYM2203Ext: public DivPlatformYM2203 {
|
||||||
OPNOpChannel opChan[4];
|
OPNOpChannel opChan[4];
|
||||||
bool isOpMuted[4];
|
bool isOpMuted[4];
|
||||||
|
friend void putDispatchChip(void*,int);
|
||||||
public:
|
public:
|
||||||
int dispatch(DivCommand c);
|
int dispatch(DivCommand c);
|
||||||
void* getChanState(int chan);
|
void* getChanState(int chan);
|
||||||
|
|
|
@ -66,6 +66,7 @@ class DivPlatformYM2608: public DivPlatformOPN {
|
||||||
double NOTE_OPNB(int ch, int note);
|
double NOTE_OPNB(int ch, int note);
|
||||||
double NOTE_ADPCMB(int note);
|
double NOTE_ADPCMB(int note);
|
||||||
|
|
||||||
|
friend void putDispatchChip(void*,int);
|
||||||
public:
|
public:
|
||||||
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
||||||
int dispatch(DivCommand c);
|
int dispatch(DivCommand c);
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
class DivPlatformYM2608Ext: public DivPlatformYM2608 {
|
class DivPlatformYM2608Ext: public DivPlatformYM2608 {
|
||||||
OPNOpChannelStereo opChan[4];
|
OPNOpChannelStereo opChan[4];
|
||||||
bool isOpMuted[4];
|
bool isOpMuted[4];
|
||||||
|
friend void putDispatchChip(void*,int);
|
||||||
public:
|
public:
|
||||||
int dispatch(DivCommand c);
|
int dispatch(DivCommand c);
|
||||||
void* getChanState(int chan);
|
void* getChanState(int chan);
|
||||||
|
|
|
@ -35,6 +35,7 @@ class DivPlatformYM2610: public DivPlatformYM2610Base<14> {
|
||||||
1, 2, 4, 5
|
1, 2, 4, 5
|
||||||
};
|
};
|
||||||
|
|
||||||
|
friend void putDispatchChip(void*,int);
|
||||||
public:
|
public:
|
||||||
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
||||||
int dispatch(DivCommand c);
|
int dispatch(DivCommand c);
|
||||||
|
|
|
@ -31,6 +31,7 @@ class DivPlatformYM2610B: public DivPlatformYM2610Base<16> {
|
||||||
0, 1, 2, 4, 5, 6
|
0, 1, 2, 4, 5, 6
|
||||||
};
|
};
|
||||||
|
|
||||||
|
friend void putDispatchChip(void*,int);
|
||||||
public:
|
public:
|
||||||
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
void acquire(short* bufL, short* bufR, size_t start, size_t len);
|
||||||
int dispatch(DivCommand c);
|
int dispatch(DivCommand c);
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
class DivPlatformYM2610BExt: public DivPlatformYM2610B {
|
class DivPlatformYM2610BExt: public DivPlatformYM2610B {
|
||||||
OPNOpChannelStereo opChan[4];
|
OPNOpChannelStereo opChan[4];
|
||||||
bool isOpMuted[4];
|
bool isOpMuted[4];
|
||||||
|
friend void putDispatchChip(void*,int);
|
||||||
public:
|
public:
|
||||||
int dispatch(DivCommand c);
|
int dispatch(DivCommand c);
|
||||||
void* getChanState(int chan);
|
void* getChanState(int chan);
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
class DivPlatformYM2610Ext: public DivPlatformYM2610 {
|
class DivPlatformYM2610Ext: public DivPlatformYM2610 {
|
||||||
OPNOpChannelStereo opChan[4];
|
OPNOpChannelStereo opChan[4];
|
||||||
bool isOpMuted[4];
|
bool isOpMuted[4];
|
||||||
|
friend void putDispatchChip(void*,int);
|
||||||
public:
|
public:
|
||||||
int dispatch(DivCommand c);
|
int dispatch(DivCommand c);
|
||||||
void* getChanState(int chan);
|
void* getChanState(int chan);
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
|
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "imgui.h"
|
#include "imgui.h"
|
||||||
|
#include "../engine/platform/fmsharedbase.h"
|
||||||
#include "../engine/platform/genesis.h"
|
#include "../engine/platform/genesis.h"
|
||||||
#include "../engine/platform/genesisext.h"
|
#include "../engine/platform/genesisext.h"
|
||||||
#include "../engine/platform/sms.h"
|
#include "../engine/platform/sms.h"
|
||||||
|
|
Loading…
Reference in New Issue