Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EmuLua savestate.create() return an invalid state object when passed argument #89

Open
GoogleCodeExporter opened this issue Mar 31, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link


for slot = 1, 12 do

    -- savestate.create() return an invalid state object when passed argument.
    local state = savestate.create(slot)

    -- expected filename: vba-save-directory/title_i.sgm
    -- actual filename: garbage(uninitialized memory)
    print(debug.getmetatable(state))

    -- Error! savestate failed
    --savestate.save(state)

    emu.pause()
end


do
    local state = savestate.create()

    -- filename: temporary path
    print(debug.getmetatable(state))

    -- OK
    savestate.save(state)
end


What version of the product are you using? On what operating system?
vba-rr svn r480. Windows7 x86


Fixed this. See attached patch file.

Original issue reported on code.google.com by [email protected] on 5 Jul 2013 at 6:40

Attachments:

@GoogleCodeExporter
Copy link
Author

Fixed on r482.
Thank you.

Original comment by [email protected] on 11 Jan 2014 at 7:27

  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant