159 Commits

Author SHA1 Message Date
Ilari Liusvaara
b8d8ffb3bf Make the random seed controllable
- This allows eliminating random seed differences from savestates (may
be useful for some forms of sync stability testing).
- Would also allow (re)recording with randomization enabled, as the
seed can be set portably).
2011-11-11 19:01:59 +01:00
Themaister
7b7d2c89ac gitignore. 2011-11-11 18:39:52 +01:00
Themaister
41bcdad7d7 Fixup style nit. 2011-11-11 18:39:34 +01:00
Ilari Liusvaara
7e3d56fe1e 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.
2011-11-11 18:34:30 +01:00
Ilari Liusvaara
d5bef28b7c Save controller state when savestating
When savestating, save the controller state and restore it upon loadstate.
Prevents libsnes from mixing up buttons.
2011-11-11 18:25:54 +01:00
Ilari Liusvaara
a7b914d3bf Fix unserialization of 64-bit signed integers 2011-11-11 17:45:59 +01:00
Themaister
02feeb707c Minor updates. 2011-11-10 21:20:27 +01:00
Themaister
962c9486b3 Update core to v084. 2011-11-10 21:10:05 +01:00
Themaister
b927f5f9db Revert "Use snes_interface for global symbol."
This reverts commit 7d07cb17516c3ce1269c0af8d80431da6f3139a0.
v083
2011-11-01 22:43:05 +01:00
Themaister
5e45aa7d57 Add linker script to export only needed symbols. 2011-10-29 20:00:52 +02:00
Themaister
7d07cb1751 Use snes_interface for global symbol. 2011-10-29 18:57:03 +02:00
Themaister
269a7fc89a Do not query for id > 11. 2011-10-16 18:21:17 +02:00
Themaister
36a86c56bb Minor makefile change. 2011-10-16 18:17:16 +02:00
Themaister
406eb74f2a Buildfixes. 2011-10-16 18:10:29 +02:00
Themaister
f4923ece4e Cleanups and minor fixes. 2011-10-16 18:04:44 +02:00
Themaister
94aa6b3e82 It compiles? :o 2011-10-16 17:59:06 +02:00
Themaister
ab8c387f13 ... This is hell. 2011-10-16 17:38:31 +02:00
Themaister
e1912f77cd Start on hardcore translation ... 2011-10-16 17:09:01 +02:00
Themaister
0df97c5157 Update gitignore. 2011-10-16 17:07:58 +02:00
Themaister
961f22894d Updates for v083 in GameBoy:: 2011-10-16 15:32:38 +02:00
Themaister
9b076faa9e Fix fast-forward hold bugs. 2011-10-16 14:06:22 +02:00
Themaister
c82ac578d1 Fix for gameboy too. 2011-10-16 13:54:13 +02:00
Themaister
2638904e6f Probably good idea to make dtor virtual here. 2011-10-16 13:43:20 +02:00
Themaister
8800238017 Add libmalloc. 2011-10-16 13:40:05 +02:00
Themaister
f3165d7035 Fix insane memory leak. 2011-10-16 13:33:05 +02:00
Themaister
99510c7114 Seems to fix save state problems in alt/smp [BearOso]. 2011-10-03 15:42:02 +02:00
Themaister
37a82d0dda Fix some aliasing issues. 2011-09-11 14:45:26 +02:00
Themaister
931511be7f Add #ifdefs for kFreeBSD/Hurd. 2011-09-08 23:18:04 +02:00
Themaister
563a0cfec6 Fix Win64 build. 2011-08-27 17:59:36 +02:00
Themaister
5a659440aa Update gameboy cartridge handling. 2011-08-26 20:45:44 +02:00
Themaister
c1731fcc12 Remove link := opt. 2011-08-26 20:16:09 +02:00
Themaister
6525f39c31 Fixup nall:: a bit. v082 2011-08-26 20:05:18 +02:00
Themaister
7234375891 SNES:: and partially nall:: 2011-08-26 19:40:31 +02:00
Themaister
c2eeda4d5d Update Gameboy::. 2011-08-26 19:09:52 +02:00
Themaister
00f8100eef Set gcc and g++ on platform=win. 2011-08-19 12:43:52 +02:00
Themaister
f14c9c1107 Slight fixup. 2011-06-29 11:59:26 +02:00
Themaister
36bb92a5a5 Do not use -shared on OSX. 2011-06-29 04:27:11 +02:00
Themaister
42a66fcd7c Merge branch 'master' of github.com:Themaister/libsnes 2011-06-26 14:59:42 +02:00
Themaister
2646873481 Remove unneeded virtuals. 2011-06-26 14:53:39 +02:00
Themaister
d0e24ccb7d Fix CX4 loading. 2011-06-26 14:34:15 +02:00
Themaister
3bb6889efd v80 2011-06-26 13:43:01 +02:00
Themaister
8a750748af Fix redundant check. 2011-06-26 00:42:21 +02:00
Themaister
301c39c601 Add check for mingw. 2011-06-25 13:15:51 +02:00
Themaister
b6df699139 Big cleanup. Seems to have fixed rewind! :D 2011-06-25 02:06:00 +02:00
Themaister
6640f63b3b Scheduler cleanup. 2011-06-25 01:41:43 +02:00
Themaister
a1c458dc0e SMP straight-out. 2011-06-25 01:34:37 +02:00
Themaister
c145c809da Fix Cx4. 2011-06-20 17:56:13 +02:00
Themaister
68ff96e77b :v 2011-06-20 17:05:30 +02:00
Themaister
66956f04f0 Fixes. Does not run it seems. 2011-06-20 17:04:45 +02:00
Themaister
27bd88f44e Update chip. 2011-06-20 16:38:50 +02:00