mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_set_allow_illegal_inputs (markdown)
parent
13ea08ec13
commit
9acd467620
|
@ -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.
|
Loading…
Reference in New Issue