Stop compiling linux code unconditionally

This commit is contained in:
goeiecool9999 2022-09-10 04:15:17 +02:00 committed by klaas
parent 56af4f147f
commit 27f1220c24

View File

@ -702,6 +702,7 @@ void LatteOverlay_updateStats(double fps, sint32 drawcalls)
g_state.ram_usage = (pmc.WorkingSetSize / 1000) / 1000;
#endif
#if BOOS_OS_LINUX
// update cemu cpu
timespec now_nano;
rusage usageData;
@ -759,6 +760,7 @@ void LatteOverlay_updateStats(double fps, sint32 drawcalls)
g_state.ram_usage = usage / 1000;
}
#endif
// update vram
g_renderer->GetVRAMInfo(g_state.vramUsage, g_state.vramTotal);