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

Loading a state resets the game #765

Open
MatPoliquin opened this issue Aug 16, 2023 · 0 comments
Open

Loading a state resets the game #765

MatPoliquin opened this issue Aug 16, 2023 · 0 comments

Comments

@MatPoliquin
Copy link

MatPoliquin commented Aug 16, 2023

I am working a project that lets machine learning models train on retro games.
So far there is many libretro emulators successfully integrated such as Sega Genesis, 32x, Saturn, Super Nintendo etc. but when I tried to integrate parallel_n64 the only thing that doesn't work is loading a state because it resets the game at the beginning.

I debugged through parallel_n64 code and it seems the state is properly loaded but than after one frame it resets.

Any ideas why? parallel_n64 is the only emulator I integrated that does that. You can see the code that interfaces with libretro here:
https://github.com/Farama-Foundation/stable-retro/blob/master/src/emulator.cpp

Notes:
I tried with many games such as Mortal Kombat Trilogy, MK4, Wave Race and ClayFighter 63 1/3. The bug happens 100% of the time.

I compiled and tested the core on Ubuntu 22.04, gcc version 11.4.0

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