Work on c_damagereaction and f_ap_game debug (#3033)

This commit is contained in:
hatal175
2026-01-12 05:22:57 +02:00
committed by GitHub
parent decb0c5437
commit db8ae465ac
14 changed files with 119 additions and 97 deletions
+7 -3
View File
@@ -55,9 +55,13 @@ public:
}
void* getDisplayingXfb() const {
if (mDisplayingXfbIndex >= 0)
return mBuffer[mDisplayingXfbIndex];
return NULL;
void* xfb;
if (mDisplayingXfbIndex >= 0) {
xfb = mBuffer[mDisplayingXfbIndex];
} else {
xfb = NULL;
}
return xfb;
}
void setDisplayingXfbIndex(s16 index) { mDisplayingXfbIndex = index; }