Updated GB_set_allow_illegal_inputs (markdown)

Lior Halphon 2024-11-30 21:50:56 +02:00
parent 13ea08ec13
commit 9acd467620
1 changed files with 5 additions and 1 deletions

@ -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.