diff --git a/src/Cafe/HW/Latte/Core/LatteOverlay.cpp b/src/Cafe/HW/Latte/Core/LatteOverlay.cpp index ed45b139..c8ba86a2 100644 --- a/src/Cafe/HW/Latte/Core/LatteOverlay.cpp +++ b/src/Cafe/HW/Latte/Core/LatteOverlay.cpp @@ -573,8 +573,8 @@ static void UpdateStats_CemuCpu() static void UpdateStats_CpuPerCore() { - ProcessorTime now[g_state.processor_count]; - QueryCoreTimes(g_state.processor_count, now); + std::vector now(g_state.processor_count); + QueryCoreTimes(g_state.processor_count, now.data()); for (int32_t i = 0; i < g_state.processor_count; ++i) {