mirror of
https://github.com/JaCzekanski/Avocado.git
synced 2024-05-10 00:23:47 -04:00
adpcm: Don't abort on filter > 4 (Tekken3)
This commit is contained in:
parent
d174949580
commit
466acd7a3b
|
@ -22,7 +22,6 @@ std::vector<int16_t> decode(uint8_t buffer[16], int32_t prevSample[2]) {
|
|||
auto filter = (buffer[0] & 0x70) >> 4; // 0x40 for xa adpcm
|
||||
if (shift > 12) shift = 9;
|
||||
|
||||
assert(filter <= 4);
|
||||
if (filter > 4) filter = 4; // TODO: Not sure, check behaviour on real HW
|
||||
|
||||
auto filterPos = filterTablePos[filter];
|
||||
|
|
Loading…
Reference in a new issue