Menu

#4 Patch for /trunk/save.c

New
nobody
None
Patch
2012-02-24
2012-02-23
Anonymous
No

Originally created by: hiban1...@gmail.com

Fix for SRAM saves being overwritten with Savestates' SRAM data when state is loaded. (i disabled SRAM data reading/writing for savestates)

1 Attachments

Discussion

  • Anonymous

    Anonymous - 2012-02-23

    Originally posted by: clac...@gmail.com

    Thanks for the patch, the description and comments on what has changed is really clear.  I'm not sure of the "why" of the change.

    What problems does this address? If I load a savestate I'd expect to loose the current in memory SRAM state. Conversely saving state, it makes sense to me to save SRAM too.

    I'm not saying the patch is wrong, I want to understand more about the need.

     
  • Anonymous

    Anonymous - 2012-02-24

    Originally posted by: hiban1...@gmail.com

    i though the intended behaviour of savestates was this, but just tried other gameboy emulators and all of them work the way you say.

    Sorry, i was wrong. Forget this patch.

     
  • Anonymous

    Anonymous - 2012-02-24

    Originally posted by: hiban1...@gmail.com

    As i wanted to have this as an option, i've modified Gnuboy source and included a new command: loadstate_nosram (which loads the state without loading the SRAM data)

    As i currently can't make patch files, i've attached the modified files in a ZIP

     

Log in to post a comment.

MongoDB Logo MongoDB