Move on .cpp, prepare for variable rate support

This commit is contained in:
cam900 2022-06-08 10:10:55 +09:00
parent 8e69a7b617
commit 6aa88b0770
11 changed files with 30 additions and 8 deletions

View file

@ -22,9 +22,6 @@
#include "fmsharedbase.h"
#define CHIP_FREQBASE fmFreqBase
#define CHIP_DIVIDER fmDivBase
#define PLEASE_HELP_ME(_targetChan) \
int boundaryBottom=parent->calcBaseFreq(chipClock,CHIP_FREQBASE,0,false); \
int boundaryTop=parent->calcBaseFreq(chipClock,CHIP_FREQBASE,12,false); \
@ -104,9 +101,9 @@ class DivPlatformOPN: public DivPlatformFMBase {
0x00, 0x04, 0x08, 0x0c
};
const double fmFreqBase;
const double fmDivBase;
const unsigned char ayDiv;
double fmFreqBase;
double fmDivBase;
unsigned char ayDiv;
DivPlatformOPN(double f=9440540.0, double d=72, unsigned char a=32):
DivPlatformFMBase(),