Online loader_configurator for web browser

This commit is contained in:
KazushiM
2022-11-08 17:06:46 +08:00
parent 523d2dc45a
commit d884077db8
9 changed files with 4412 additions and 4 deletions

View File

@@ -412,7 +412,7 @@ void Governor::Main(void* args) {
bool GPUThrottled = false;
while (self->m_running) {
bool shouldUpdateContext = update_ticks++ >= UPDATE_CONTEXT_RATE;
bool shouldUpdateContext = ++update_ticks >= UPDATE_CONTEXT_RATE;
if (shouldUpdateContext) {
update_ticks = 0;
uint32_t hz = Clocks::GetCurrentHz(SysClkModule_GPU);