change Bifurcator system ID

This commit is contained in:
tildearrow 2024-04-21 03:34:20 -05:00
parent a6357525d9
commit ca5cf58d00
4 changed files with 4 additions and 2 deletions

View file

@ -54,7 +54,7 @@ void DivPlatformBifurcator::acquire(short** buf, size_t len) {
for (int i=0; i<4; i++) {
chan[i].audSub+=chan[i].freq;
if (chan[i].audSub>=65536) {
long long newx=(long long)chan[i].curx*(chan[i].param+65536)/32768;
int64_t newx=(int64_t)chan[i].curx*(chan[i].param+65536)/32768;
newx*=65536-chan[i].curx;
chan[i].curx=(int)(newx/65536);
chan[i].audSub&=65535;

View file

@ -2092,7 +2092,7 @@ void DivEngine::registerSystems() {
);
sysDefs[DIV_SYSTEM_BIFURCATOR]=new DivSysDef(
"Bifurcator", NULL, 0xf2, 0, 4, false, true, 0, false, 0, 0, 0,
"Bifurcator", NULL, 0xd9, 0, 4, false, true, 0, false, 0, 0, 0,
"a fantasy sound chip using logistic map iterations to generate sound.",
{"Channel 1", "Channel 2", "Channel 3", "Channel 4"},
{"CH1", "CH2", "CH3", "CH4"},