Commit Graph

4768 Commits

Author SHA1 Message Date
Stephen Anthony 7bc320964e Added TimerManager to Xcode project file.
Fixed a few warnings.
2018-08-23 20:37:34 -02:30
thrust26 f58d28089e updated VS project files 2018-08-23 16:50:29 +02:00
Stephen Anthony 2e2984864d Add timer/callback functionality to OSystem.
Previously this was done by SDL_AddTimer, but the new approach is much better:
- it is proper C++ (using std::thread and lambdas)
- It is not tied to the SDL toolkit, which is C-based
Also, re-added logic to reset events ~0.5 seconds after starting ROM emulation; this resets 'hold' events
2018-08-23 11:48:24 -02:30
thrust26 5b6541abf2 updated some shots 2018-08-22 21:05:13 +02:00
thrust26 7a94ad0a8c fixed a warning 2018-08-22 15:29:35 +02:00
Stephen Anthony 12b18e5b71 Fix issue #363; too eager pruning in previous commit. 2018-08-22 10:17:53 -02:30
thrust26 aa9b4fb3b7 updated some screenshots for debugger doc 2018-08-22 12:15:07 +02:00
thrust26 90f893b71d aligned help wording to changed dialog wording 2018-08-22 11:54:40 +02:00
thrust26 21b8fa133f dirty fix for #355 2018-08-22 11:10:45 +02:00
thrust26 858d6991ca fixes reversed dev.settings 2018-08-22 09:19:07 +02:00
Stephen Anthony 59fb2214ed Minor code cleanup and fix a warning. 2018-08-21 20:19:55 -02:30
thrust26 797ced56b0 fixes #359 2018-08-21 21:11:25 +02:00
thrust26 723d06dbbb update remaining screenshots for emulator doc 2018-08-20 18:13:37 +02:00
thrust26 714a7f60e8 updated screenshots 2018-08-20 15:47:38 +02:00
thrust26 5f07ad3cdf more doc updates 2018-08-20 14:01:06 +02:00
thrust26 b61f38d4c2 updated doc 2018-08-20 13:38:18 +02:00
thrust26 15e6e50293 fixed #356 2018-08-20 12:35:34 +02:00
thrust26 fb6c827470 added global stereo option to AudioDialog (TODO: use it)
removed '(*)' from AudioDialog (TODO: make everything immediate)
updated -help (this seems broken!)
2018-08-20 11:55:13 +02:00
Stephen Anthony 915e62f466 Fixed a few more warnings, and marked some code for later research. 2018-08-19 22:40:57 -02:30
Stephen Anthony c006b08a6d Disable suggestion to use 'constexpr' IF in VS.
It requires C++17, and we're only up to C++14 for now.
2018-08-19 21:53:57 -02:30
Stephen Anthony 6184d8e130 Improved Common::Base hexadecimal handling:
- Fixed warnings generated by clang about 'nonliteral' format specifiers
- Upper/lowercase hex output (uhex command) now works for BUS/CDF schemes
2018-08-19 21:32:47 -02:30
Stephen Anthony 9037af617d Fix warning in snprintf and g++7 and above. 2018-08-19 20:46:05 -02:30
Stephen Anthony f87e5d73f1 Remove debugging code; it seems like the testing is complete for redraws. 2018-08-19 20:39:55 -02:30
Stephen Anthony 6d5278fe0c Well, that solves the problem of 'constexpr' IF.
This is not supported in C++14, and this is the maximum we can use for now.
2018-08-19 20:23:43 -02:30
Stephen Anthony 24cd6cb219 Use proper C++ code for localtime and related functions. 2018-08-19 19:53:47 -02:30
thrust26 e425d8065f fixed warning in AtariNTSC.cxx 2018-08-19 22:22:05 +02:00
Stephen Anthony 6cd5c9d327 Fix API for TogglePixelWidget to properly use ColorId datatypes. 2018-08-19 17:03:54 -02:30
Stephen Anthony 4a2a07d5a7 Fix warning in VS; make comparison use constexpr. 2018-08-19 17:03:09 -02:30
Stephen Anthony 51b27340fd Fix warnings detected by clang. 2018-08-19 16:27:59 -02:30
Stephen Anthony e3bf1ffbd5 More updates to Visual Studio compiler settings:
- Increase warning level to 4, and fix a few new warnings
- Globally, all files are now explictly compiled in C++ mode
- For png and zlib code (that we didn't write), drop back to level 2
warnings and explicitly compile in C mode
2018-08-19 15:01:03 -02:30
Stephen Anthony 56437c38e6 Increased warning level in Visual Studio compiles.
Also fixed some new warnings that VS now finds.
2018-08-19 12:34:40 -02:30
thrust26 8b156dc43d minor GlobalPropsDialog polishing 2018-08-19 13:58:05 +02:00
thrust26 73733801e4 small design fixes for GlobalPropsDialog 2018-08-19 10:09:37 +02:00
thrust26 67785c34c5 made upper and lower case more consistent 2018-08-19 10:08:11 +02:00
thrust26 eefa196f0d updated doc for moved lauchner snapshot path widgets
renamed "image" into "snapshot" (this may have to be repeated when the lib gets updated)
2018-08-18 21:56:47 +02:00
thrust26 810b854428 Merge branch 'release/6.0' of https://github.com/stella-emu/stella into release/6.0 2018-08-17 21:02:42 +02:00
thrust26 f12c4bb485 adjusted SnapshotDialog size to removed widget 2018-08-17 21:02:31 +02:00
Stephen Anthony c05fa1989f Fix compile error in clang; something to do with unique_ptr can't have default d'tor. 2018-08-17 16:31:05 -02:30
thrust26 13c616c4c8 moved ROM viewer image path settings into UIDialog 2018-08-17 20:44:50 +02:00
Stephen Anthony 7ae6d84739 Completely remove ability to use a per-ROM properties file.
This 'feature' now seems unnecessary, and it complicates the code by having it.
2018-08-17 13:56:08 -02:30
thrust26 77c8da55f3 fixed UI dialog defaults
updated UI dialog docs
2018-08-16 19:20:14 +02:00
Stephen Anthony 31acc92bbe Fix crashes when changing toggling fullscreen/windowed mode.
- Only allow such changes when in emulation mode, or a few other common ones (launcher, debugger)
  The idea is here that some dialogs have to be resized/repositioned when such a mode change occurs, and the UI core doesn't currently support that.
- Only render surfaces when they are visible (sounds logical enough, but the code didn't check for it).
2018-08-15 13:33:08 -02:30
Stephen Anthony c2ce29ed78 Fix minor warning from clang. 2018-08-15 12:25:57 -02:30
thrust26 9ec6b0816d fixed #351 2018-08-15 15:28:09 +02:00
thrust26 f03af75c2c renamed 'Frame stats' into 'Console info overlay' 2018-08-15 14:46:37 +02:00
Christian Speckner 00b4ab2c64 Remove debug code. 2018-08-14 18:04:19 +02:00
thrust26 9082eefd62 minor polishing to auto-detected value display 2018-08-13 15:45:28 +02:00
thrust26 c566256373 display auto-detected values in GameInfoDialog 2018-08-13 13:12:29 +02:00
thrust26 4bc3373b37 made UI theme change immediate 2018-08-12 23:01:43 +02:00
thrust26 1fe5cd2b3f removed non implemented method 2018-08-12 22:48:35 +02:00