commit requested changes

This commit is contained in:
tildearrow 2022-06-06 13:32:57 -05:00
parent 44cee98868
commit d3a3473f19
5 changed files with 10 additions and 10 deletions

View File

@ -86,7 +86,7 @@
return 2; \
}
class DivPlatformOPNBase: public DivPlatformFMBase {
class DivPlatformOPN: public DivPlatformFMBase {
protected:
const unsigned char ADDR_MULT_DT=0x30;
const unsigned char ADDR_TL=0x40;
@ -108,7 +108,7 @@ class DivPlatformOPNBase: public DivPlatformFMBase {
const double fmDivBase;
const unsigned char ayDiv;
DivPlatformOPNBase(double f=9440540.0, double d=72, unsigned char a=32):
DivPlatformOPN(double f=9440540.0, double d=72, unsigned char a=32):
DivPlatformFMBase(),
fmFreqBase(f),
fmDivBase(d),

View File

@ -29,7 +29,7 @@ class DivYM2612Interface: public ymfm::ymfm_interface {
};
class DivPlatformGenesis: public DivPlatformOPNBase {
class DivPlatformGenesis: public DivPlatformOPN {
protected:
const unsigned short chanOffs[6]={
0x00, 0x01, 0x02, 0x100, 0x101, 0x102
@ -155,7 +155,7 @@ class DivPlatformGenesis: public DivPlatformOPNBase {
int init(DivEngine* parent, int channels, int sugRate, unsigned int flags);
void quit();
DivPlatformGenesis():
DivPlatformOPNBase(9440540.0, 72, 32) {}
DivPlatformOPN(9440540.0, 72, 32) {}
~DivPlatformGenesis();
};
#endif

View File

@ -29,7 +29,7 @@ class DivYM2203Interface: public ymfm::ymfm_interface {
};
class DivPlatformYM2203: public DivPlatformOPNBase {
class DivPlatformYM2203: public DivPlatformOPN {
protected:
const unsigned short chanOffs[3]={
0x00, 0x01, 0x02
@ -118,7 +118,7 @@ class DivPlatformYM2203: public DivPlatformOPNBase {
int init(DivEngine* parent, int channels, int sugRate, unsigned int flags);
void quit();
DivPlatformYM2203():
DivPlatformOPNBase(4720270.0, 36, 16) {}
DivPlatformOPN(4720270.0, 36, 16) {}
~DivPlatformYM2203();
};
#endif

View File

@ -34,7 +34,7 @@ class DivYM2608Interface: public ymfm::ymfm_interface {
DivYM2608Interface(): adpcmBMem(NULL), sampleBank(0) {}
};
class DivPlatformYM2608: public DivPlatformOPNBase {
class DivPlatformYM2608: public DivPlatformOPN {
protected:
const unsigned short chanOffs[6]={
0x00, 0x01, 0x02, 0x100, 0x101, 0x102
@ -137,7 +137,7 @@ class DivPlatformYM2608: public DivPlatformOPNBase {
int init(DivEngine* parent, int channels, int sugRate, unsigned int flags);
void quit();
DivPlatformYM2608():
DivPlatformOPNBase(9440540.0, 72, 32) {}
DivPlatformOPN(9440540.0, 72, 32) {}
~DivPlatformYM2608();
};
#endif

View File

@ -34,7 +34,7 @@ class DivYM2610Interface: public ymfm::ymfm_interface {
DivYM2610Interface(): adpcmAMem(NULL), adpcmBMem(NULL), sampleBank(0) {}
};
class DivPlatformYM2610Base: public DivPlatformOPNBase {
class DivPlatformYM2610Base: public DivPlatformOPN {
protected:
unsigned char* adpcmAMem;
size_t adpcmAMemLen;
@ -50,7 +50,7 @@ class DivPlatformYM2610Base: public DivPlatformOPNBase {
int init(DivEngine* parent, int channels, int sugRate, unsigned int flags);
void quit();
DivPlatformYM2610Base():
DivPlatformOPNBase(9440540.0, 72, 32) {}
DivPlatformOPN(9440540.0, 72, 32) {}
};
class DivPlatformYM2610: public DivPlatformYM2610Base {