williehwc / wonderdroid-x

Bandai Wonderswan emulator for Android. バンダイのワンダースワンというハードのエミュです。
GNU General Public License v2.0
18 stars 2 forks source link

One savedata per game/32kb save data size #5

Open AbandonedWitchStarlight opened 2 years ago

AbandonedWitchStarlight commented 2 years ago

Apperently Wonderdroid-X makes 5 save files per game (mem+sav) dnd even takes up 5mb to create some save files, and that is so annoying, That's why since Wonderdroid-X uses some of the WSC code from Mednafen, I think the save data size should be similar to Mednafen's (32kb), rather than the original 1.5mb size.

williehwc commented 2 years ago

Thanks for your comment; that is correct. The original emulator, WonderDroid without the X, did not have any save state functionality. I added it later, but it's not very stable and sometimes outputs corrupt saves. To work around this problem, it makes five save states, since having all five states be corrupted is highly unlikely.

That said, I am working on transitioning the emulator to the actual Mednafen core/base (rather than just taking parts from Mednafen), which should not only resolve this issue, but will come with other benefits like better performance. This is a rather large project though, so I will need a few more months.