cycle counting fixed

This commit is contained in:
Simone Coco
2022-10-05 12:09:31 +02:00
parent 80c8718fef
commit 4757cbb8ef
4 changed files with 4 additions and 3 deletions

View File

@@ -7,7 +7,6 @@ void App::Run() {
const u8* state = SDL_GetKeyboardState(nullptr);
SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
while (!core.done) {
core.UpdateController(state);
core.Run(window, window.volumeL, window.volumeR);
SDL_Event event;
@@ -54,6 +53,8 @@ void App::Run() {
}
} break;
}
core.UpdateController(state);
}
}
}