commit fd4c11e34975380aad2824c25740d7525a7d436c
Author: Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Sat Apr 9 09:03:22 2022 -0600
Commit: Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Sat Apr 9 09:03:22 2022 -0600
Honor supress pause menu flag
---
source/vm.cpp | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/source/vm.cpp b/source/vm.cpp
index 5384a58..8f80282 100644
--- a/source/vm.cpp
+++ b/source/vm.cpp
@@ -374,6 +374,11 @@ void Vm::LoadCart(std::string filename){
}
void Vm::togglePauseMenu(){
+ if (_memory->drawState.suppressPause) {
+ _memory->drawState.suppressPause = 0;
+ return;
+ }
+
_pauseMenu = !_pauseMenu;
if (_pauseMenu){