Commit graph

14 commits

Author SHA1 Message Date
Ilari Liusvaara
5075da5c4a Support alternate (more accurate) poll timings 2014-01-05 15:15:04 +02:00
Ilari Liusvaara
de64c85a62 Support auto-detecting bsnes version 2014-01-05 15:14:16 +02:00
Ilari Liusvaara
e047aa8eb9 Support notifying latches 2013-10-27 10:53:59 +02:00
Ilari Liusvaara
e397bd46f1 Fix compiling on GCC 4.7 2013-05-03 17:48:32 +03:00
Ilari Liusvaara
6e0364c9a8 Add needed support for detecting true polls as opposed to just autopolling 2013-05-03 17:48:32 +03:00
Ilari Liusvaara
7018377c93 Fix uninitialized variables
These uninitialized variables cause a lot of desyncs in Shadowrun.
2013-05-03 17:48:32 +03:00
Ilari Liusvaara
eeaf6dc52d 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:32 +03:00
Ilari Liusvaara
4dc46334ec Allow frontend to control random number seed 2013-05-03 17:48:32 +03:00
Ilari Liusvaara
cdf2f46490 Fix unserialization of 64-bit signed integers 2013-05-03 17:48:31 +03:00
Ilari Liusvaara
efe1b5884c 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:31 +03:00
Ilari Liusvaara
7379b4570e 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:31 +03:00
Ilari Liusvaara
bb2fed04fb Fix bsnes version number in libsnes to be v085, not v083 2013-05-03 17:48:31 +03:00
Ilari Liusvaara
b19b3b2d1d Make libsnes compile
Changes between v083 and v084 had broken libsnes. Fix it so it at least
compiles.
2013-05-03 17:48:31 +03:00
Ilari Liusvaara
9680f3fb4c Import of bsnes v085 sources 2013-05-03 17:47:34 +03:00