Post subject: emu.framecount() giving outlandish numbers.
Active player (250)
Joined: 3/30/2015
Posts: 49
idk if I'm being dumb or what but when my lua script tries to read the current frame count I get absurdly large numbers. my code is simply: print(emu.framecount()) the output is: 1.62596199993e+018 Closing and restarting the emulator will cause me to get a different absurd number as the output. Results are unaffected by whether or not I'm playing a movie, what ROM I'm using, and the frame count itself. I'm on 9.9 x86.
And all should cry, Beware! Beware! His flashing eyes, his floating hair! http://www.twitch.tv/flameberger
Masterjun
He/Him
Site Developer, Skilled player (1987)
Joined: 10/12/2010
Posts: 1185
Location: Germany
It works fine on my version of DeSmuME 0.9.9 x86. Maybe you somehow got yourself a bad lua51.dll, maybe a 64-bit version when you should have a 32-bit version or something.
Warning: Might glitch to credits I will finish this ACE soon as possible (or will I?)
Active player (250)
Joined: 3/30/2015
Posts: 49
Masterjun wrote:
It works fine on my version of DeSmuME 0.9.9 x86. Maybe you somehow got yourself a bad lua51.dll, maybe a 64-bit version when you should have a 32-bit version or something.
Yep, that was it. replaced my dll and it works now. Thanks.
And all should cry, Beware! Beware! His flashing eyes, his floating hair! http://www.twitch.tv/flameberger