Commit Graph

8 Commits

Author SHA1 Message Date
gocha 17f7223706 Lua: add joypad get/set functions
Note: joypad.get() probably cannot get movie input due to the structure of snes9x. I'll try to fix it later.
2012-08-11 09:20:47 +09:00
gocha d5945b06de Change the reset timing of pad_read to resolve a sort of traditional 1-frame delay problems. It still has 1-frame delay problem. However, unless you're using non-Windows port or MessagesInImage=TRUE, you shouldn't experience it anymore.
For me, it's not so easy to solve those traditional timing issues...

Add IPPU.InMainLoop for future use.
2012-08-04 15:30:24 +09:00
gocha a7695760f2 Add lag frame count display, instead of "ignored" sign.
Adjust reset timing:
- move IPPU.TotalEmulatedFrames initialization from InitROM to S9xResetPPU (part of S9xReset)
- reset pad_read in S9xResetPPU (it must be reset at the beginning of emulation including movie playing/recording, otherwise the lag frame count can show a different value, because of the first frame.)
2012-08-04 13:37:00 +09:00
OV2 faee2859b5 Change ZeroMemory to memset 2012-01-23 18:12:47 +01:00
Bl0ckeduser 5286891441 Fix missing header (ctype.h for isalnum) 2011-11-13 13:07:34 -05:00
OV2 c47598f3cf Update copyright in all files 2011-04-11 21:51:20 +02:00
zones 2f167567f5 Fix HIRQ 2010-11-28 22:35:41 +09:00
OV2 d1666860e0 Initial 1.52 import 2010-09-25 17:46:12 +02:00