Giter VIP home page Giter VIP logo

Comments (5)

Myaats avatar Myaats commented on July 24, 2024

The game might be writing to SRAM, currently melonDS dumps a copy of the entire SRAM to the drive for every write. Try to see if it also happens in the official melonDS release and if it does create an issue upstream if it already does not exist.

from melonds.

fighuass avatar fighuass commented on July 24, 2024

Alright, it seems to be an upstream issue, created one there. Should this stay open as well?

from melonds.

Myaats avatar Myaats commented on July 24, 2024

🤷‍♂️

from melonds.

Ryunam avatar Ryunam commented on July 24, 2024

I was thinking of mentioning this few minutes ago, right before looking at the issue section here and noticing this thread. This synchronous-only saving method that melonDS has right now is unfortunately one of the most annoying issues, at least when using the current libretro core.

I remember it was brought up and discussed already when @m4tsa updated this core to latest master, but just for the sake of understanding this I am wondering if making the libretro core output a .srm file instead of a .sav file, essentially hooking the libretro save API fully (I presume?), would address this matter and make the process asynchronous.

Maybe it could be available as a core option similarly to what beetle-psx does, where the user can choose based on their own discretion if they prefer to output saves with the .srm format (libretro) or the .mcr format (PS1 memory card file). But again, I do not know how feasible this is without disrupting core maintainability and I’m wondering if this would even address the “fully synchronous saves every time” thing in the first place.

from melonds.

Myaats avatar Myaats commented on July 24, 2024

I was thinking of mentioning this few minutes ago, right before looking at the issue section here and noticing this thread. This synchronous-only saving method that melonDS has right now is unfortunately one of the most annoying issues, at least when using the current libretro core.

I remember it was brought up and discussed already when @m4tsa updated this core to latest master, but just for the sake of understanding this I am wondering if making the libretro core output a .srm file instead of a .sav file, essentially hooking the libretro save API fully (I presume?), would address this matter and make the process asynchronous.

Maybe it could be available as a core option similarly to what beetle-psx does, where the user can choose based on their own discretion if they prefer to output saves with the .srm format (libretro) or the .mcr format (PS1 memory card file). But again, I do not know how feasible this is without disrupting core maintainability and I’m wondering if this would even address the “fully synchronous saves every time” thing in the first place.

No it will not since the melonDS code has no way currently to detect when you are done writing to the SRAM so it would still write the entire file for every byte written

from melonds.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.