MT32: Add missing default switch cases

See 4d911012e26eb9fc2098d586b0c2108667d3c2af for reference.
This commit is contained in:
Lothar Serra Mari 2020-06-06 12:52:54 +02:00 committed by Eugene Sandulenko
parent d831c5984e
commit b0b0e573fb
3 changed files with 6 additions and 0 deletions

View File

@ -273,6 +273,8 @@ Analog *Analog::createAnalog(const AnalogOutputMode mode, const bool oldMT32Anal
return new AnalogImpl<IntSampleEx>(mode, oldMT32AnalogLPF);
case RendererType_FLOAT:
return new AnalogImpl<FloatSample>(mode, oldMT32AnalogLPF);
default:
break;
}
return NULL;
}

View File

@ -633,6 +633,8 @@ BReverbModel *BReverbModel::createBReverbModel(const ReverbMode mode, const bool
return new BReverbModelImpl<IntSample>(mode, mt32CompatibleModel);
case RendererType_FLOAT:
return new BReverbModelImpl<FloatSample>(mode, mt32CompatibleModel);
default:
break;
}
return NULL;
}

View File

@ -1674,6 +1674,8 @@ void Synth::writeMemoryRegion(const MemoryRegion *region, Bit32u addr, Bit32u le
case MR_Reset:
reset();
break;
default:
break;
}
}