From 9acd467620242a52f5079b19da2ae80a80d4fabd Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sat, 30 Nov 2024 21:50:56 +0200 Subject: [PATCH] Updated GB_set_allow_illegal_inputs (markdown) --- GB_set_allow_illegal_inputs.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/GB_set_allow_illegal_inputs.md b/GB_set_allow_illegal_inputs.md index 8b3d13c..8464ce5 100644 --- a/GB_set_allow_illegal_inputs.md +++ b/GB_set_allow_illegal_inputs.md @@ -6,8 +6,12 @@ In `joypad.h` ## Description -TBD +A Super Game Boy and Game Boy Player forbid pressing opposing directional buttons (Up + Down or Left + Right) together via software, while other models have their shells physically built to make such button combinations impossible. By default, trying to input these illegal combinations will cause the emulator instance to drop one of the inputs. Use this function to disable this behavior. ## Thread Safety `GB_set_allow_illegal_inputs` is thread-safe and can be called from any thread and context. + +## Notes + +Some commercial games are known to crash when illegal inputs are made. \ No newline at end of file