prepare for C219
This commit is contained in:
parent
886e311c0d
commit
80961354f7
|
@ -483,6 +483,11 @@ void DivPlatformC140::renderSamples(int sysID) {
|
|||
sampleMemLen=memPos+256;
|
||||
}
|
||||
|
||||
void DivPlatformC219::set219(bool is_219) {
|
||||
is219=is_219;
|
||||
totalChans=is219?16:24;
|
||||
}
|
||||
|
||||
void DivPlatformC140::setFlags(const DivConfig& flags) {
|
||||
chipClock=32000*256; // 8.192MHz and 12.288MHz input, verified from Assault Schematics
|
||||
CHECK_CUSTOM_CLOCK;
|
||||
|
|
|
@ -53,6 +53,8 @@ class DivPlatformC140: public DivDispatch {
|
|||
bool isMuted[24];
|
||||
unsigned int sampleOff[256];
|
||||
bool sampleLoaded[256];
|
||||
bool is219;
|
||||
int totalChans;
|
||||
|
||||
signed short* sampleMem;
|
||||
size_t sampleMemLen;
|
||||
|
@ -95,6 +97,7 @@ class DivPlatformC140: public DivDispatch {
|
|||
size_t getSampleMemUsage(int index = 0);
|
||||
bool isSampleLoaded(int index, int sample);
|
||||
void renderSamples(int chipID);
|
||||
void set219(bool is_219);
|
||||
void setFlags(const DivConfig& flags);
|
||||
int init(DivEngine* parent, int channels, int sugRate, const DivConfig& flags);
|
||||
void quit();
|
||||
|
|
Loading…
Reference in New Issue