fix pads, start RSP

This commit is contained in:
CocoSimone
2022-09-10 01:05:46 +02:00
parent 0b5a9ba0e7
commit 645a20931a
16 changed files with 131 additions and 78 deletions

View File

@@ -6,6 +6,9 @@ void App::Run() {
// Main loop
const u8* state = SDL_GetKeyboardState(nullptr);
while (!core.done) {
core.Run(window);
core.UpdateController(state);
SDL_Event event;
while (SDL_PollEvent(&event)) {
ImGui_ImplSDL2_ProcessEvent(&event);
@@ -36,10 +39,6 @@ void App::Run() {
} break;
} break;
}
core.UpdateController(state);
}
core.Run(window);
}
}