mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
MT32: Add missing default switch cases
See 4d911012e26eb9fc2098d586b0c2108667d3c2af for reference.
This commit is contained in:
parent
d831c5984e
commit
b0b0e573fb
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -1674,6 +1674,8 @@ void Synth::writeMemoryRegion(const MemoryRegion *region, Bit32u addr, Bit32u le
|
||||
case MR_Reset:
|
||||
reset();
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user