Commit Graph

4629 Commits

Author SHA1 Message Date
thrust26 3b00fe45cd Revert "aspect ration now affects height instead of width"
This reverts commit 0b61a71e58.
2018-08-29 16:39:18 +02:00
Stephen Anthony a2d7ac188b Dynamic dialogs are now correctly sized according to the current window size.
- This fixes issue 367, and allows Logger and Browser dialogs to be displayed
2018-08-29 11:40:21 -02:30
thrust26 0b61a71e58 aspect ration now affects height instead of width
fixes #368
2018-08-29 16:01:01 +02:00
thrust26 dc630b4dd6 Revert "fixed #367"
This reverts commit 79fd588f8a.
2018-08-29 15:37:10 +02:00
thrust26 e9a6deee70 reversed aspect ratio settings for NTSC50, PAL60 and SECAM60 2018-08-29 15:28:24 +02:00
thrust26 7dd433a116 fixed size of `BrowserDialog` (may be refactored) 2018-08-29 15:05:36 +02:00
thrust26 79fd588f8a fixed #367
made logger dialog slightly smaller (95%)
2018-08-29 14:50:31 +02:00
thrust26 5365fc5c5e removed (*) in AudioDialog and screenshots 2018-08-29 14:04:16 +02:00
Stephen Anthony fb07d250d9 Simplify AudioSettings class a little.
- Use only one c'tor, which fixes some warnings from Coverity
- Fix large compile times when AudioSettings class is changed
2018-08-29 09:10:55 -02:30
Stephen Anthony dc4fc5c8d2 More fixes from cppcheck. 2018-08-29 08:55:07 -02:30
Stephen Anthony 6093bf8375 Fix signed/unsigned conversion warning in VS. 2018-08-28 22:32:56 -02:30
Stephen Anthony 46b07d14b5 Fixes for warnings from Coverity. 2018-08-28 22:13:02 -02:30
Stephen Anthony 0f8dc1f2bb Yet more fixes for warnings from cppcheck. 2018-08-28 17:00:00 -02:30
Stephen Anthony 7e4dc350f0 More fixes for suggestions from cppcheck. 2018-08-28 16:19:50 -02:30
Stephen Anthony 558b071fbb Some more fixes for warnings from cppcheck. 2018-08-28 14:21:01 -02:30
Stephen Anthony e5fb010631 Allow sound sample rate/fragment size to change dynamically.
- Move sound debugging output to logging facilities
- This should fix issue #348, but more testing is required

Bumped version # for beta release.
2018-08-28 11:01:52 -02:30
Stephen Anthony 13b9bbe5a4 More M6502 micro-optimizations. 2018-08-27 13:47:22 -02:30
Stephen Anthony c901f282bb A few micro-optimizations in the 6502 emulation (found by cppcheck). 2018-08-27 12:17:22 -02:30
Stephen Anthony 8c7488914d Fix some warnings generated by cppcheck (a C++ linter). 2018-08-27 11:09:03 -02:30
Stephen Anthony 409fa49aae Removed WIP experimental code that causes a crash with Ctrl-c/v. 2018-08-26 09:12:46 -02:30
Christian Speckner eacfb41584 Remove debug code. 2018-08-26 11:14:18 +02:00
Stephen Anthony 2db48ae38b Fixes #332. 2018-08-24 10:12:34 -02:30
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