patches/sound.c causes game to not compile because line 149 (with gcc and clang)
var_v1 = &D_801C09E8_1C15E8;
with var_v1 being
u16 *var_v1;
and the value being
extern u16 D_801C09E8_1C15E8[];
arrays decay into pointers, so the & is unneccesary when assigning to var_v1
Possible fix
var_v1 = D_801C09E8_1C15E8;
Another possible fix depending on desired functionality (in which i have no idea what it does)
u16 **var_v1;
patches/sound.c causes game to not compile because line 149 (with gcc and clang)
var_v1 = &D_801C09E8_1C15E8;with var_v1 being
u16 *var_v1;and the value being
extern u16 D_801C09E8_1C15E8[];arrays decay into pointers, so the & is unneccesary when assigning to var_v1
Possible fix
var_v1 = D_801C09E8_1C15E8;Another possible fix depending on desired functionality (in which i have no idea what it does)
u16 **var_v1;