X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=source%2Fmupen64plus-rsp-hle%2Fsrc%2Falist_internal.h;h=df6fa271f05277524b27c2229ee8e528fd284a0a;hb=0a8a0368662b34eac6f2f01d708415e81b81bd88;hp=ae39883b45a3b35675bd68d59d323a8f4562afe8;hpb=7b232824d043e2cc90e94d40b6b0a7df4b3d5692;p=mupen64plus-pandora.git diff --git a/source/mupen64plus-rsp-hle/src/alist_internal.h b/source/mupen64plus-rsp-hle/src/alist_internal.h old mode 100644 new mode 100755 index ae39883..df6fa27 --- a/source/mupen64plus-rsp-hle/src/alist_internal.h +++ b/source/mupen64plus-rsp-hle/src/alist_internal.h @@ -22,9 +22,9 @@ #ifndef ALIST_INTERNAL_H #define ALIST_INTERNAL_H -#include "hle.h" +#include -typedef void (*acmd_callback_t)(u32 inst1, u32 inst2); +typedef void (*acmd_callback_t)(uint32_t inst1, uint32_t inst2); /* * Audio flags @@ -43,8 +43,15 @@ typedef void (*acmd_callback_t)(u32 inst1, u32 inst2); #define A_MAIN 0x00 #define A_MIX 0x10 -extern u16 AudioInBuffer, AudioOutBuffer, AudioCount; -extern u16 AudioAuxA, AudioAuxC, AudioAuxE; -extern u32 loopval; // Value set by A_SETLOOP : Possible conflict with SETVOLUME??? +/* FIXME: this decomposition into 3 ABI is not accurate, + * there are a least 9 or 10 different ABI, each with one or a few revisions + * for a total of almost 16 differents audio ucode. + * + * ABI2 in fact is a mix of at least 7 differents ABI which are mostly compatible + * but not totally, that's why there is a isZeldaABI/isMKABI workaround. + */ +extern const acmd_callback_t ABI1[0x10]; +extern const acmd_callback_t ABI2[0x20]; +extern const acmd_callback_t ABI3[0x10]; -#endif +#endif \ No newline at end of file