Commit graph

23 commits

Author SHA1 Message Date
Ilari Liusvaara
a8d20f606d Change the RTC time format 2011-10-22 22:58:04 +03:00
Ilari Liusvaara
7e924d9c83 Be ready if some clown decides to change core frequencies 2011-10-20 17:42:29 +03:00
Ilari Liusvaara
78ea0a9d88 Use C++11 isms new in G++ 4.6. 2011-10-19 19:25:31 +03:00
Ilari Liusvaara
e28c2046e0 Fix all sorts of color fsckups from 16bit to 32bit change 2011-10-19 19:01:13 +03:00
Ilari Liusvaara
2ac0ca2413 Switch back to 32-bit colors
Now that bsnes core supports luma, 32-bit colors are needed to properly
reproduce the colors.
2011-10-19 13:59:54 +03:00
Ilari Liusvaara
dc977fbcee Bump minimum bsnes version to v083.
This also bumps the compiler version to GCC 4.6.
2011-10-14 15:05:13 +03:00
Ilari Liusvaara
949441c12b Refactor current controls code from mainloop.cpp to controller.cpp 2011-10-05 02:24:34 +03:00
Ilari Liusvaara
95b0df8a8b Changes to how read-only works
* Add command that loads savestate in current mode.
* Make jukebox loads use current mode.
* Fix truncation of movie when current_frame = 0
* Add command to set read-only mode
* Add command to toggle read-only mode
2011-10-03 22:32:43 +03:00
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)