diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-06 16:14:17 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-06 16:14:17 +0100 |
| commit | 3302f760f1461bc4582c99ee2e4ed0ccc1d5b186 (patch) | |
| tree | 8a9808677dc972c1115f6d6a75cab86a6651992a /config/values.yml | |
| parent | 695d225256ed129ce55eb2dfde9de33d3d5f3af9 (diff) | |
| download | jetpac.nes-3302f760f1461bc4582c99ee2e4ed0ccc1d5b186.tar.gz jetpac.nes-3302f760f1461bc4582c99ee2e4ed0ccc1d5b186.zip | |
Don't toggle pause from a holded button
If you just holded the Select or Start buttons, it would be forever
toggling pause/unpause, which is an unexpected behavior.
Fix this by saving which value from the joypad was previously read. With
this, whenever the pause timer reaches zero, we can check whether either
button is still pressed, and avoid toggling if that is the case.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'config/values.yml')
0 files changed, 0 insertions, 0 deletions
