Skip to content

Freezing upon loading savestates #32

@BLCRAFT210

Description

@BLCRAFT210

I've noticed a few ways that savestate functions can cause Dolphin to freeze. The first is when you attempt to load a savestate with the scripting API that wasn't created using the API. (Edit: This actually works, but for some reason the game speed is much faster than normal upon loading.) Likewise, attempting to load a savestate with a hotkey will also cause a freeze if the savestate was created using the API. Finally, loading a savestate twice in the same program causes a freeze. This is a quick program that causes that:

from dolphin import event, savestate

await event.frameadvance()
savestate.load_from_file([path to file]) #this one works fine
for i in range(60):
    await event.frameadvance()
savestate.load_from_file([path to file]) #this one crashes

I don't know why these freezes happen, and there might be some other bugs with the savestate module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions