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

pNES in PS Vita - Freezes a few seconds in any game #267

Open
thiagol-fenix opened this issue Oct 17, 2023 · 0 comments
Open

pNES in PS Vita - Freezes a few seconds in any game #267

thiagol-fenix opened this issue Oct 17, 2023 · 0 comments

Comments

@thiagol-fenix
Copy link

In the middle of a game, if you press the square button, the game freezes for about 3 seconds.

I have done some research and I think these conclusions may help:

  • The square button is assigned to the JOY_X input by default.

  • In the source code of the emulator (last stable version), file uiEmu.cpp, in the function PNESUiEmu::onUpdate() there is the following code:
    Captura desde 2023-10-17 22-22-25

  • In the source code of nestopia, file nstcommon.cpp, the function referenced in the previous image is displayed:
    Captura desde 2023-10-17 22-23-17

From what I can understand, I think what's going on is that the JOY_X input is hard-coded to rewind the game backwards and the PS Vita probably doesn't have enough power to do that... and it freezes up.

Well, if you accept suggestions:

  • This functionality does not work on this system so it could be removed (I vote for this one).
  • Or an option could be added in the menu to map it and activate/deactivate it.

The solution to this is up to you... and by the way, this project is amaizing :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant