mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-07-10 01:24:41 -06:00
Stop compiling linux code unconditionally
This commit is contained in:
parent
56af4f147f
commit
27f1220c24
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user