SNES: more more more work

This commit is contained in:
tildearrow 2022-09-25 02:00:46 -05:00
parent ffa0181704
commit 023bdf2f9a
3 changed files with 6 additions and 6 deletions

View file

@ -911,8 +911,7 @@ void DivSample::render() {
}
if (depth!=DIV_SAMPLE_DEPTH_BRR) { // BRR
if (!initInternal(DIV_SAMPLE_DEPTH_BRR,samples)) return;
// TODO: loop point
brrEncode(data16,dataBRR,(samples+15)&(~15),0);
brrEncode(data16,dataBRR,(samples+15)&(~15),loop?loopStart:-1);
}
if (depth!=DIV_SAMPLE_DEPTH_VOX) { // VOX
if (!initInternal(DIV_SAMPLE_DEPTH_VOX,samples)) return;