Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Press and hold behavior regarding cheats #724

Open
styper opened this issue Feb 26, 2025 · 0 comments
Open

[Bug] Press and hold behavior regarding cheats #724

styper opened this issue Feb 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@styper
Copy link

styper commented Feb 26, 2025

Description of the issue

Any cheats that require a press and hold behavior in a button do not work.

This is an example in Pokémon Sword:

[03# Instakill (Hold ZR)]
04000000 007E37F0 7900E808
80000200
04000000 007E37F0 7900E81F
20000000

The cheat starts with the default value, and if you press and hold 80000200, which is the code for ZR, then it should modify the behavior of the execution, in this case it the hit that lands during the press and hold will be a one hit kill.

If you set just this part in the cheat (always activated, no button hold needed):

[03# Instakill (Hold ZR)]
04000000 007E37F0 7900E81F

It works fine, but since the cheat also affects opponents hits it needs a button modifier.

Cheats that work with single press of a button instead of press and hold work fine in the same game, which leads me to believe that there is an issue with how press and hold works in Ryujinx.

For reference, I tested with both an XBox controller and with a keyboard.

Reproduction steps

Load up Pokémon Sword.
Load up the instant kill cheat.
Test the behavior with the button pressed.
Nothing happens.

Log file

n/a

OS

Windows 10

Ryujinx version

1.2.82

Game version

1.3.2

CPU

No response

GPU

No response

RAM

No response

List of applied mods

No response

Additional context?

No response

@styper styper added the bug Something isn't working label Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant