mirror of
https://github.com/zeldaret/tp
synced 2026-08-22 06:44:53 -04:00
Add hacks to fix PCH .data causing fake mismatches with decompctx (#2606)
This commit is contained in:
@@ -5,8 +5,13 @@
|
||||
#include "m_Do/m_Do_lib.h"
|
||||
|
||||
namespace Z2Calc {
|
||||
// hack for f_op_actor, having this present breaks its weak func ordering
|
||||
#ifdef DECOMPCTX
|
||||
// Hack to mitigate fake mismatches when building from decompctx output -
|
||||
// see comment in sqrtf in math.h
|
||||
static Vec cNullVec = {0.0f, 0.0f, 0.0f};
|
||||
#else
|
||||
static const Vec cNullVec = {0.0f, 0.0f, 0.0f};
|
||||
#endif
|
||||
|
||||
enum CurveSign {
|
||||
CURVE_SIGN_0 = 0,
|
||||
|
||||
Reference in New Issue
Block a user