Fix: acmd dispatching discard most significant bit
Fix overflow with ramp value stepping

see bsmiles32/mupen64plus-rsp-hle@032b726#commitcomment-5241631
Refactor some mixing routines
Fix regression introduced by commit 3921889f3be47edb56b8ebc4691edbbd31d6b273

adpcm_compute_residuals should honor the count parameter.
Merge pull request #11 from bsmiles32/small_fixes

Small fixes
Temporary fix for IndianaJones and BattleForNaboo.

IndianaJones and BattleForNaboo use a different version of musyx ucode.
In this later version, some data structures have changed, which makes it incompatible with the
previous version (and cause the emulator to crash...).
This patch avoid the emulator crash by not handling the task.
Proper fix requires more reverse engineering effort.
Merge pull request #12 from bsmiles32/musyx_temporary_fix

Temporary fix for IndianaJones and BattleForNaboo.
Implement parts of MusyX ucode (v2).

The second version of MusyX ucode is only found in IndianaJones and BattleForNaboo.
NOTE: the proposed implementation is not complete but seems enough to improve user experience.
Merge pull request #13 from bsmiles32/musyx_v2

Implement parts of MusyX ucode (v2).
Isolate plugin specific code.
Rename rsp to g_RspInfo
Isolate memory access code.
Remove superfluous headers
Move clamp_s16 to arithmetics.h
Rename ucode*.c files
Rename rsp status flags defines.
Use bool where appropriate.
Make unknown task dumping optional at compile time.

This functionality is not needed by the normal user and can introduce unwanted dependencies on
files. It can be enabled at compile time using -DENABLE_TASK_DUMP or Makefile var DUMP=1.
Put hle_execute proto into a proper header file.
Merge pull request #14 from bsmiles32/plugin_refac

Plugin refac