mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Replace array with std::vector
This commit is contained in:
parent
39a8028ff3
commit
a372c6ad9d
1 changed files with 2 additions and 2 deletions
|
@ -573,8 +573,8 @@ static void UpdateStats_CemuCpu()
|
||||||
|
|
||||||
static void UpdateStats_CpuPerCore()
|
static void UpdateStats_CpuPerCore()
|
||||||
{
|
{
|
||||||
ProcessorTime now[g_state.processor_count];
|
std::vector<ProcessorTime> now(g_state.processor_count);
|
||||||
QueryCoreTimes(g_state.processor_count, now);
|
QueryCoreTimes(g_state.processor_count, now.data());
|
||||||
|
|
||||||
for (int32_t i = 0; i < g_state.processor_count; ++i)
|
for (int32_t i = 0; i < g_state.processor_count; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue