Fix double buffering bug

This commit is contained in:
wheremyfoodat 2023-07-26 19:38:51 +03:00
parent 6daa419fd6
commit f434787b68

View file

@ -374,6 +374,10 @@ void Emulator::runFrame() {
if (haveCheats) [[unlikely]] {
cheats.run();
}
} else if (romType != ROMType::None) {
// If the emulator is not running and a game is loaded, we still want to display the framebuffer otherwise we will get weird
// double-buffering issues
gpu.display();
}
}