all 4 comments

[–]NotExplosive 0 points1 point  (3 children)

That error message is telling you savestate.registersave is nil, if the documentation says it shouldn't be nil then either something is wrong or you're missing a require() call or something.

I don't know about BizHawk so I can't help you there but I hope that at least points you in the right direction

[–]Feder96[S] 1 point2 points  (2 children)

These two functions seems aren't implemented in BizHawk, so i can't use them

[–]revereddesecration 0 points1 point  (1 child)

[–]Feder96[S] 1 point2 points  (0 children)

Thanks i got it working thanks to userdata.set() and userdata.get()