Commit Graph

176 Commits

Author SHA1 Message Date
Stephen Anthony 8a0491f3d3 Fix coverity complaining about unrestricted use of getenv. 2019-11-29 18:06:43 -03:30
Stephen Anthony 75bda25459 Updated master with 6.0.2 changelog. 2019-10-16 22:30:37 -02:30
Stephen Anthony 91148d299a Eliminate conversion to pointer when it's not necessary. 2019-09-27 22:50:24 -02:30
Stephen Anthony c10b467de1 Updated files for upcoming release (whenever that may be).
Added info from 6.0.1 branch.
2019-08-18 19:09:18 -02:30
Stephen Anthony bcca945951 More reworking of the file selection mechanism.
- removed GameList, and integrated functionality directly into 'FSList' (which was mostly doing the same thing)
- have FSNode::getChildren() relabel directories, instead of Browser and Launcher dialogs
- MD5 calculations in ROM launcher are now cached, instead of being recalculated each time a directory is left and re-entered

Windows and macOS likely broken for a moment; this will be fixed next.
2019-06-22 21:09:42 -02:30
thrust26 93c7a69351 rename "dejitter" parameter names and add them to the CLI help 2019-05-12 19:55:14 +02:00
thrust26 eb2ece7bde define dejitter defaults 2019-05-09 20:11:42 +02:00
Christian Speckner 7ed4105e79 Update R77 joymap preset to account for modified controls layout. 2019-05-08 00:19:00 +02:00
Christian Speckner 3aa16f5d54 Mising semicolon. 2019-05-07 23:55:08 +02:00
Christian Speckner 3cbbda4719 Stupid me... remove key column name from joymap string. 2019-05-07 23:46:50 +02:00
Christian Speckner e65d9250f3 Add joymap to support the R77 paddles. 2019-05-07 00:26:05 +02:00
Christian Speckner c6ed729600 Remove now-defunct custom R77 save logic. 2019-05-02 01:11:49 +02:00
Christian Speckner ff8b9b41d4 Revert "Remove R77 save logic, make most R77 settings temporary ot exclude them from persistence."
This reverts commit 51f38840e0.
2019-05-02 01:10:43 +02:00
Christian Speckner 882b5a1288 Revert "Some more tuning to R77 settings persistence."
This reverts commit 22778a545e.
2019-05-02 01:10:37 +02:00
Christian Speckner 22778a545e Some more tuning to R77 settings persistence. 2019-05-02 00:12:18 +02:00
Christian Speckner 51f38840e0 Remove R77 save logic, make most R77 settings temporary ot exclude them from persistence. 2019-05-01 23:25:15 +02:00
thrust26 ae51e9a953 define and align TV effect defaults for R77
slightly enlarge options dialog for minimal UI
2019-05-01 08:49:17 +02:00
Christian Speckner 4d0da9b8e7 Merge branch 'master' into sqlite 2019-04-29 00:50:30 +02:00
thrust26 75650f1930 add option to switch settings mode in minimal UI 2019-04-27 21:07:18 +02:00
Christian Speckner f26f4e53c6 Remove obsolete platform specific settings classes. 2019-04-26 22:24:33 +02:00
thrust26 d18c16639f change rewind intervals to 5s (1s internally) 2019-04-26 22:14:03 +02:00
thrust26 4c3c1931d6 updated R77 settings for command and settings dialogs 2019-04-26 22:02:18 +02:00
Stephen Anthony 00e464afc3 Enable conditional compilation for ZIP/zlib support. 2019-04-24 15:36:20 -02:30
Stephen Anthony 5dde762b85 Changed 'tia.fsfill' option to 'tia.fs_stretch'. 2019-04-14 14:57:28 -02:30
Stephen Anthony d54f106a3a And yet more 'enum' cleanups. 2019-04-13 22:44:23 -02:30
Stephen Anthony c80e2340ea Add mappings for increasing and decreasing current vidmode.
Map the R77 F13 key to the former.
Some refactoring of the mapping code in PKeyboardHandler and EventHandler.
Some refactoring of the VidMode handling in FrameBuffer.
Option 'tia.fsfill' is now used to select 4:3 vs. 16:9 mode in fullscreen.
2019-04-08 18:44:27 -02:30
Stephen Anthony 368159a598 Add default key mappings for R77 at a lower level
- this allows to always reset to known working settings
- we no longer need a specific keymap in SettingsR77, so it is removed

Add action that can switch between fullscreen normal or stretched modes
- this is the 'tia.fsfill' option, that is currently only change-able from the UI
- still need to add infrastructure to actually do this

Fixed minor compile warning.
2019-04-07 14:41:58 -02:30
Stephen Anthony 4e2df09b10 Reactivate syncing for R77 stellarc file. 2019-04-05 23:59:09 -02:30
Stephen Anthony 66c588476e Disabled mappings for R77 port for upcoming beta test.
More work needs to be done in the core before this can be activated.
2019-04-05 13:35:20 -02:30
Stephen Anthony 2aa910c5c6 More improvements to default key mapping for R77.
- p0 diff (and p1 too) now use a single event to switch, instead of two separate events
- same as above to color/bw
- this requires changes to the base R77 firmware, which is in a separate commit.
2019-03-31 20:34:17 -02:30
Stephen Anthony 2bb633800c First pass at getting keymap working again for R77. 2019-03-31 16:42:48 -02:30
Stephen Anthony 70748f3619 Fix off-centered TIA image on R77. 2019-03-31 16:09:14 -02:30
Stephen Anthony 8553aea3ba A few minor settings for R77. 2019-03-23 13:52:49 -02:30
Stephen Anthony 51981d633d When compiled for R77, use 'minimal_ui' mode. 2019-03-09 14:35:22 -03:30
Stephen Anthony fa59b6b9d2 Updated R77 audio settings. 2019-03-09 13:23:07 -03:30
Stephen Anthony 374a318556 More R77 improvements.
- Don't allow ROM launcher to go above '/mnt/games'
- Remember 'lastrom' selected in ROM launcher
2019-03-09 12:48:39 -03:30
Stephen Anthony f508ca2634 First pass at porting R77-specific changes to mainline.
- more work is required here, since I'm unable to test on a real R77 yet
- changes will also be required in the manually generated config.mak
2019-03-09 12:22:33 -03:30
Stephen Anthony 88afab2d22 More restructuring of the OSystem and derived class interaction
- Each derived class no longer calls methods from the base class
- The base class now directly queries the derived class with a pure virtual method, making sure it is called
- Implemented 'basedir' commandline argument for Linux

Windows and macOS currently won't compile.  I'll work on those next.
2019-02-24 19:14:55 -03:30
Stephen Anthony 130fcf1dfc Fairly large refactoring of Settings class
- Completely separate Settings and OSystem; the former no longer uses the latter at all
- Moved separate Settings methods directly into that class, exposing less info outside the class
- Reworked loading/saving config files; this may break macOS port (not tested yet)
- Next thing TODO is convert Settings class to use map instead of vectors
2019-02-21 21:55:08 -03:30
Stephen Anthony 275666b0af The annual copyright year update. 2019-01-01 11:35:51 -03:30
Stephen Anthony 933c4d7d3c Mac-related files/folders are now using 'macOS' naming scheme. 2018-12-19 11:46:09 -03:30
Stephen Anthony 3423bf15c7 Set release date for 6.0 for Dec. 23. We'll see if we actually make it ... 2018-12-18 21:15:32 -03:30
Stephen Anthony 9890c648cb For UNIX-only, use version-specific config file if it already exists.
- I'm tired of switching between version 5.x and 6.x, and constantly having to reset sound settings :(
- Backporting this to a local copy of 5.x, so both can co-exist, and going forward too
- Not quite ready to advertise this functionality yet ...
2018-09-17 08:36:31 -02:30
Stephen Anthony 0f8dc1f2bb Yet more fixes for warnings from cppcheck. 2018-08-28 17:00:00 -02:30
Stephen Anthony 1b14b82ab1 Bump version number to 6.0 in various files, for upcoming release.
The date is still a WIP.
2018-08-11 13:17:47 -02:30
Stephen Anthony 0b04b130f9 Minor optimization: use two-way IF instead of separate ones. 2018-08-06 12:30:00 -02:30
Stephen Anthony 64fd3f50f9 For FSNodeUNIX, use actual symlink name instead of underlying name (fixes #325), 2018-08-06 11:22:55 -02:30
Stephen Anthony f2f952f09b Reworking of the FSNode classes, using smart pointers.
- For now, I simply use shared_ptr; long term, I will look into unique_ptr for more efficiency.
2018-08-05 22:32:11 -02:30
Stephen Anthony 36997d4d7a Final updates for 5.1.1 release. 2018-02-21 15:38:29 -03:30
Stephen Anthony a38b168db8 Updated various files for 5.1.1 release (dates still TBD). 2018-02-15 19:51:57 -03:30