Skip to content

Commit a9d3e40

Browse files
author
Niko
committed
profiler bitwise logic fix
1 parent 1fd3cd5 commit a9d3e40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • decompile/General/AltMods/DebugMenu

decompile/General/AltMods/DebugMenu/Font.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void DebugProfiler_ListAllDebugStats()
157157
int Debug_GetFirstSect();
158158
struct ProfilerSection* ptrSectArr = Debug_GetFirstSect();
159159

160-
if((sdata->gGT->timer & FPS_DOUBLE(16)) != 0)
160+
if((sdata->gGT->timer & (FPS_DOUBLE(16)-1)) == 0)
161161
{
162162
timeFrame =
163163
ptrSectArr[numSectionsUsed-1].timeEnd -

0 commit comments

Comments
 (0)