Remove const from fopAcM functions (#44)

This commit is contained in:
LagoLunatic
2023-09-16 16:50:52 -04:00
committed by GitHub
parent e054193f0a
commit f0cc6a9bef
4 changed files with 104 additions and 185 deletions
+4 -1
View File
@@ -4,10 +4,13 @@
#include "f_op/f_op_actor_mng.h"
#include "d/d_cc_d.h"
class dBgS_GndChk;
class cBgS_PolyInfo;
namespace daObj {
template <typename T>
int PrmAbstract(const fopAc_ac_c* actor, T width, T shift) {
u32 param = fopAcM_GetParam(actor);
u32 param = fopAcM_GetParam((fopAc_ac_c*)actor);
return ((1 << width) - 1) & (param >> shift);
}