mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-08-27 01:17:40 +00:00
Core Timing: Correct Idle and remove lefting pragma
This commit is contained in:
committed by
FernandoS27
parent
e96ac0e2a3
commit
f2f4a797ee
@@ -13,8 +13,6 @@
|
|||||||
#include "common/thread.h"
|
#include "common/thread.h"
|
||||||
#include "core/core_timing_util.h"
|
#include "core/core_timing_util.h"
|
||||||
|
|
||||||
#pragma optoimize("", off)
|
|
||||||
|
|
||||||
namespace Core::Timing {
|
namespace Core::Timing {
|
||||||
|
|
||||||
constexpr int MAX_SLICE_LENGTH = 10000;
|
constexpr int MAX_SLICE_LENGTH = 10000;
|
||||||
@@ -222,6 +220,7 @@ void CoreTiming::ResetRun() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void CoreTiming::Idle() {
|
void CoreTiming::Idle() {
|
||||||
|
accumulated_ticks += downcounts[current_context];
|
||||||
idled_cycles += downcounts[current_context];
|
idled_cycles += downcounts[current_context];
|
||||||
downcounts[current_context] = 0;
|
downcounts[current_context] = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user