Files
tww/include/d/d_a_obj.h
T
2023-09-11 22:28:10 -07:00

15 lines
305 B
C++

#ifndef D_A_OBJ
#define D_A_OBJ
#include "f_op/f_op_actor_mng.h"
namespace daObj {
template <typename T>
int PrmAbstract(const fopAc_ac_c* actor, T width, T shift) {
u32 param = fopAcM_GetParam(actor);
return ((1 << width) - 1) & (param >> shift);
}
};
#endif /* D_A_OBJ */