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 alpha1...@gmail.com on 5 Jul 2013 at 6:40
Original issue reported on code.google.com by
alpha1...@gmail.com
on 5 Jul 2013 at 6:40Attachments: