mirror of
https://github.com/tildearrow/furnace.git
synced 2024-12-04 10:17:26 +00:00
Fix build again
This commit is contained in:
parent
40f3455357
commit
04f208c535
2 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@
|
||||||
#include "../../ta-log.h"
|
#include "../../ta-log.h"
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#define rWrite(a,v) {if((!skipRegisterWrites) && (a<0x30)) {k053260.write(a,v); regPool[a]=v; if(dumpWrites) addWrite(a,v);}}
|
#define rWrite(a,v) {if(!skipRegisterWrites) {k053260.write(a,v); regPool[a]=v; if(dumpWrites) addWrite(a,v);}}
|
||||||
|
|
||||||
#define CHIP_DIVIDER 16
|
#define CHIP_DIVIDER 16
|
||||||
#define TICK_DIVIDER 64 // for match to YM3012 output rate
|
#define TICK_DIVIDER 64 // for match to YM3012 output rate
|
||||||
|
@ -374,7 +374,7 @@ DivDispatchOscBuffer* DivPlatformK053260::getOscBuffer(int ch) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void DivPlatformK053260::reset() {
|
void DivPlatformK053260::reset() {
|
||||||
memset(regPool,0,48);
|
memset(regPool,0,64);
|
||||||
k053260.reset();
|
k053260.reset();
|
||||||
rWrite(0x28,0); // keyoff all channels
|
rWrite(0x28,0); // keyoff all channels
|
||||||
for (int i=0; i<4; i++) {
|
for (int i=0; i<4; i++) {
|
||||||
|
@ -434,7 +434,7 @@ unsigned char* DivPlatformK053260::getRegisterPool() {
|
||||||
}
|
}
|
||||||
|
|
||||||
int DivPlatformK053260::getRegisterPoolSize() {
|
int DivPlatformK053260::getRegisterPoolSize() {
|
||||||
return 48;
|
return 64;
|
||||||
}
|
}
|
||||||
|
|
||||||
const void* DivPlatformK053260::getSampleMem(int index) {
|
const void* DivPlatformK053260::getSampleMem(int index) {
|
||||||
|
|
|
@ -52,7 +52,7 @@ class DivPlatformK053260: public DivDispatch, public k053260_intf {
|
||||||
unsigned char* sampleMem;
|
unsigned char* sampleMem;
|
||||||
size_t sampleMemLen;
|
size_t sampleMemLen;
|
||||||
k053260_core k053260;
|
k053260_core k053260;
|
||||||
unsigned char regPool[48];
|
unsigned char regPool[64];
|
||||||
void updatePanning(unsigned char mask);
|
void updatePanning(unsigned char mask);
|
||||||
|
|
||||||
friend void putDispatchChip(void*,int);
|
friend void putDispatchChip(void*,int);
|
||||||
|
|
Loading…
Reference in a new issue