Skip to content

Calling emu:loadFile() prevents Savestates from working #2804

Description

@RonWeber

Build: 0.10.0
OS: Windows 11 64-bit

I'm writing a Lua script, and as soon as I call emu:loadFile, savestates stop working the normal way. Using Lua to make savestates still works, but the hotkeys and savestate menu don't function.

Can be reproduced with this script:

BASE_PATH = "C:\\Users\\Ron\\Emulators\\Pokemon - Emerald Version (U).gba"

function test(...)
    emu:loadFile(BASE_PATH)
    emu:reset()
end

After entering test "" into the scripts console, the emulator can no longer load savestates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThis issue needs more investigation by a maintainer to triage appropriately

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions