Skip to content

Commit 83e05cb

Browse files
committed
xDebug: Migrate add tweak weak functions
1 parent ab51509 commit 83e05cb

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

configure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ def MatchingFor(*versions):
498498
Object(NonMatching, "SB/Game/zLasso.cpp"),
499499
Object(NonMatching, "SB/Game/zLight.cpp"),
500500
Object(Matching, "SB/Game/zLightEffect.cpp"),
501-
Object(NonMatching, "SB/Game/zLightning.cpp"),
501+
Object(NonMatching, "SB/Game/zLightning.cpp", extra_cflags=["-sym on"]),
502502
Object(NonMatching, "SB/Game/zLOD.cpp"),
503503
Object(NonMatching, "SB/Game/zMain.cpp"),
504504
Object(Equivalent, "SB/Game/zMenu.cpp"),

src/SB/Core/x/xDebug.h

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,28 @@ void xDebugUpdate();
9595
void xDebugExit();
9696
void xDebugTimestampScreen();
9797

98-
void xDebugAddTweak(const char*, F32*, F32, F32, const tweak_callback*, void*, U32);
9998
void xDebugRemoveTweak(const char*);
10099
void xDebugUpdate();
101100

101+
void xDebugAddTweak(const char*, F32*, F32, F32, const tweak_callback*, void*, U32)
102+
{
103+
}
104+
105+
void xDebugAddTweak(const char*, S16*, S16, S16, const tweak_callback*, void*, U32)
106+
{
107+
}
108+
109+
void xDebugAddTweak(const char*, U8*, U8, U8, const tweak_callback*, void*, U32)
110+
{
111+
}
112+
113+
void xDebugAddFlagTweak(const char*, U32*, U32, const tweak_callback*, void*, U32)
114+
{
115+
}
116+
117+
void xDebugAddSelectTweak(const char*, U32*, const char**, const U32*, U32, const tweak_callback*,
118+
void*, U32)
119+
{
120+
}
102121

103122
#endif

0 commit comments

Comments
 (0)