trigger-segfault / WiimoteLib.Net

A modified version of WiimoteLib to support Audio playback among other things.
MIT License
16 stars 4 forks source link

Incorrect nibble order in wav2adpcm.c #4

Open fb39ca4 opened 11 months ago

fb39ca4 commented 11 months ago

The code in wav2adpcm.c uses the low nibble of the byte for the first sample and the high nibble for the second sample, but it should actually be the other way around.

I can see this in the Dolphin Emulator source code as well as in the disassembly of the WENC library in the official Wii SDK.