commit 87ee6d2115184bcfc4096e05a6015efb817f246e
Author: Jon Bell <j.to.the.bell@gmail.com>
AuthorDate: Mon Dec 29 09:19:04 2025 -0700
Commit: Jon Bell <j.to.the.bell@gmail.com>
CommitDate: Mon Dec 29 09:19:04 2025 -0700
PRevent enter from opening pause menu in devkitmode (need to press escape)
---
source/vm.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/source/vm.cpp b/source/vm.cpp
index a125c43..e5ee1dd 100644
--- a/source/vm.cpp
+++ b/source/vm.cpp
@@ -1111,7 +1111,8 @@ void Vm::update_buttons() {
}
// Check for pause button (bit 6 / 0x40)
- if (_input->btnp(6)) {
+ // Don't trigger pause in devkitMode - Enter key is used for command input
+ if (_input->btnp(6) && !_memory->drawState.devkitMode) {
togglePauseMenu();
}
}