Commit graph

11 commits

Author SHA1 Message Date
Ilari Liusvaara
242efcc9cf Add support for auto-detecting bsnes version 2013-11-30 10:26:59 +02:00
Ilari Liusvaara
62f8a07104 Support notifying latches 2013-10-27 10:52:45 +02:00
Ilari Liusvaara
7b09063fbc Add needed support for detecting true polls as opposed to just autopolling 2013-05-03 17:48:26 +03:00
Ilari Liusvaara
4f6981592e Fix mouse polling
Don't poll for mouse motion excessive number of times (no need to poll it for
each bit!)
2013-05-03 17:48:26 +03:00
Ilari Liusvaara
794d83cb28 Allow frontend to control random number seed 2013-05-03 17:48:26 +03:00
Ilari Liusvaara
aa1352516e Fix unserialization of 64-bit signed integers 2013-05-03 17:48:26 +03:00
Ilari Liusvaara
af7fdd9f73 Save controller state when savestating
When savestating, save the controller state and restore it upon loadstate.
Prevents libsnes from mixing up buttons.
2013-05-03 17:48:26 +03:00
Ilari Liusvaara
b481e3d161 Don't use time() in emulating chips
Instead of using time() in chip emulation, create new interface method
currentTime(), defaulting to time(0). This way frontend can cleanly
override the current time bsnes is using.
2013-05-03 17:48:26 +03:00
Ilari Liusvaara
df7851648e Fix bsnes version number in libsnes to be v084, not v083 2013-05-03 17:48:26 +03:00
Ilari Liusvaara
831e9614a7 Make libsnes compile
Changes between v083 and v084 had broken libsnes. Fix it so it at least
compiles.
2013-05-03 17:48:26 +03:00
Ilari Liusvaara
d59af77372 Import of bsnes v084 sources 2013-05-03 17:47:19 +03:00