Delay SI DMAs, implement TAS movie replay (WIP), and fix DIV

This commit is contained in:
CocoSimone
2022-10-18 20:46:45 +02:00
parent 6a42a212c4
commit a8fda9770c
23 changed files with 359 additions and 85 deletions

View File

@@ -1,13 +1,16 @@
#include <App.hpp>
#include <parallel-rdp/ParallelRDPWrapper.hpp>
#include <nfd.hpp>
#include "m64.hpp"
void App::Run() {
// Main loop
const u8* state = SDL_GetKeyboardState(nullptr);
SDL_EventState(SDL_DROPFILE, SDL_ENABLE);
static int count = 0;
while (!core.done) {
core.Run(window, window.volumeL, window.volumeR);
core.UpdateController(state);
SDL_Event event;
while (SDL_PollEvent(&event)) {
@@ -48,8 +51,6 @@ void App::Run() {
}
} break;
}
core.UpdateController(state);
}
}
}