Oops small mistake

This commit is contained in:
SimoneN64 2023-07-10 20:53:51 +02:00
parent 53873c75cc
commit 340c18b87b

View file

@ -90,6 +90,7 @@ void Emulator::run() {
httpServer.startHttpServer();
#endif
while (running) {
ServiceManager& srv = kernel.getServiceManager();
if(romLoaded) {
#ifdef PANDA3DS_ENABLE_HTTP_SERVER
pollHttpServer();
@ -97,8 +98,6 @@ void Emulator::run() {
runFrame(); // Run 1 frame of instructions
gpu.display(); // Display graphics
ServiceManager& srv = kernel.getServiceManager();
// Send VBlank interrupts
srv.sendGPUInterrupt(GPUInterrupt::VBlank0);
srv.sendGPUInterrupt(GPUInterrupt::VBlank1);