Skip to content

SRAM not flushing to disk at expected intervals #49

@ichee

Description

@ichee

Saves do not get written to disk at specified intervals set via Retroarch's autosave_interval.

They are only written to disk when unloading the core.

I understand that this was to be left up to the core to handle, but it is not handled at all in the libretro core.

The standalone version does this just fine, albeit an older method of always flushing after the set interval regardless of whether the sram has been modified or not.

If I read the code correctly, core handling seems to be specified in bsnes.cpp under target-bsnes but not in libretro.cpp under target-libretro.

This is not only a useful feature, but also necessary in case of a core, retroarch, or system crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions