Jump to content
IGNORED

Is 10 FPS a too low framerate for a LYNX tile based game?


Nop90

Recommended Posts

In the second version only added a close file call if the open file used to check for the second stage menu goes fine.

 

I'll give up for the moment with the "back to menu" function ad add to my two games only the timeout check that seems to work.

  • Like 1
Link to comment
Share on other sites

  • 3 months later...
On 2/16/2019 at 9:14 AM, Nop90 said:

Update:

 

analyzed the retroarch lynx core and it dumps the eeprom content on file only when the game is restarted or closed, but I think there is a bug in the closing code because there the eeprom is also cleared (probably to clear the state of the emulator), but this seems to happen before saving the eeprom content to file (so the saved content result always in a bunch of 0).

 

Since on starting/restarting a rom the emulator loads the eeprom file on memory, the cleaning part should be moved before the load eproom call to fix the problem.

 

Knowing this I tricked the emulator. Made a correct file save of the eeprom resetting the rom, changed the file name and closed the emulator. Than restored the filename and restarted the emulator and the gam: this way everything worked fine.

 

Now I know my code works as expected.

Thanks a lot for this trick! I too was able to confirm that EEPROM save/write now works on my game using RetroArch and your "file hotswap", so thanks a lot for discovering it and taking the time to share it publicly!

Link to comment
Share on other sites

  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...