Commit graph

15 commits

Author SHA1 Message Date
Ilari Liusvaara
bdd0a17bef All supported platforms support gettimeofday and usleep
Move to using gettimeofday and usleep instead of SDL time and delay
functions.
2011-10-02 19:05:45 +03:00
Ilari Liusvaara
f2550aebd5 Function comment cleanups 2011-09-26 19:02:43 +03:00
Ilari Liusvaara
ecf559b0ad Remove delayed reset support
Delayed reset code is just plain too buggy. This feature will return if
I figure out how to do it properly.
2011-09-25 23:15:27 +03:00
Ilari Liusvaara
e54fd13bdd Allow disabling time() interception
This prevents recording games using S-RTC but allows building on platforms
not supporting ld --wrap, most notably Mac OS X.
2011-09-25 11:48:36 +03:00
Ilari Liusvaara
42a2f92a44 Keep track of RTC
This can't be used yet (no support for external time source in bsnes, but
it should become handy when such support exists).
2011-09-24 21:05:56 +03:00
Ilari Liusvaara
f90a3503ef Take interlace into account when determining framerate 2011-09-24 19:29:21 +03:00
Ilari Liusvaara
a7dd6e22be Reinitialize controls after continuing from loadstate
This should prevent annoying controls getting lost problem.
2011-09-24 06:10:12 +03:00
Ilari Liusvaara
a9edf4cb30 Make autofire pattern repeat in absolute time, not linear time 2011-09-24 06:09:25 +03:00
Ilari Liusvaara
7f9c7a5f96 Don't hit the watchdog during executing delayed reset 2011-09-22 14:55:36 +03:00
Ilari Liusvaara
f0c3f7b61c Use dedicated callbacks for mouse/close, not commands 2011-09-22 14:54:00 +03:00
Ilari Liusvaara
66fcf13980 Unattended dumping support 2011-09-20 22:05:49 +03:00
Ilari Liusvaara
8c8fc98d19 Fix rerecord counting
This also fixes the off-by-one in rerecord count.
2011-09-19 21:45:35 +03:00
Ilari Liusvaara
d2ac8d9c3c Fix firmware lookup
Turns out path() has to return full path, not just the directory
name.
2011-09-19 18:24:39 +03:00
Ilari Liusvaara
b975ebaea5 Don't crash if initial savestate can't be loaded
Instead of crashing if initial savestate can't be loaded, enter system
state corrupt mode.
2011-09-18 17:27:03 +03:00
Ilari Liusvaara
89d511f321 Major source reorganization 2011-09-18 12:42:33 +03:00
Renamed from mainloop.cpp (Browse further)