mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 20:41:38 +12:00
Fix double buffering bug
This commit is contained in:
parent
6daa419fd6
commit
f434787b68
1 changed files with 6 additions and 2 deletions
|
@ -374,6 +374,10 @@ void Emulator::runFrame() {
|
||||||
if (haveCheats) [[unlikely]] {
|
if (haveCheats) [[unlikely]] {
|
||||||
cheats.run();
|
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue