initial OPZ bring-up

even emulation is incomplete and one thing is making me tired...
This commit is contained in:
tildearrow 2022-04-06 22:56:06 -05:00
parent 9345576fc3
commit 530327383a
8 changed files with 876 additions and 5 deletions

View file

@ -208,11 +208,11 @@ void DivPlatformArcade::acquire(short* bufL, short* bufR, size_t start, size_t l
}
}
unsigned char noteMap[12]={
static unsigned char noteMap[12]={
0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 13, 14
};
int hScale(int note) {
inline int hScale(int note) {
return ((note/12)<<4)+(noteMap[note%12]);
}