Commit Graph

3394 Commits

Author SHA1 Message Date
thrust26 0724e69c4c attempt to fix CMD key mapping in MacOS 2019-06-01 00:23:38 +02:00
thrust26 2ed25f50b6 doc update
save all states now saves ALL states
2019-05-31 22:30:56 +02:00
thrust26 7b56497963 fix crash when TM is disabled 2019-05-31 16:26:52 +02:00
Stephen Anthony 98cb5a4ecd Update recent commit to use C++ functionality (unique_ptr and streams).
- fixes compile error in Linux and some libretro builds
- fixes issue #485
2019-05-31 11:38:19 -02:30
thrust26 67db29e826 implement saving/loading all TM states to/from disk 2019-05-31 14:44:46 +02:00
thrust26 b566c34793 refactor 'ctrlcombo' into 'modcombo', suppresses all modifier key combinations 2019-05-30 12:31:34 +02:00
thrust26 be1a51b5b4 use event version check for joymap too 2019-05-30 11:16:07 +02:00
thrust26 d231da4558 allow all events for combos
check event list version when loading keymaps & combomap
2019-05-30 10:18:35 +02:00
thrust26 996517eefb add new StartPause event (e.g. useful for combos)
fix some code
2019-05-30 08:59:33 +02:00
Stephen Anthony a225003ed9 Revert "Make Common::Point use non-negative dimensions, like the other classes in Rect."
Seems I should do more testing before committing code ...

This reverts commit 1ea2c967ce.
2019-05-29 10:52:39 -02:30
Stephen Anthony 1ea2c967ce Make Common::Point use non-negative dimensions, like the other classes in Rect. 2019-05-29 09:16:13 -02:30
thrust26 bd2185e3f5 fix ComboDialog width 2019-05-28 23:28:47 +02:00
thrust26 43af1a0005 redefine a few default keys (in TV effects and toggle bits/collisions)
reorder listing of emulation actions according to documentation
update documentation
2019-05-28 23:02:02 +02:00
thrust26 c8223c105b Merge branch 'master' of https://github.com/stella-emu/stella 2019-05-28 21:03:20 +02:00
thrust26 24dcb64c70 try to map correctly for MacOS.
make remaining ALT hotkeys configurable
2019-05-28 21:03:05 +02:00
funbars 389616f3c6 libretro cleanup 2019-05-28 15:54:45 -02:30
thrust26 d9ba5bedd7 fix mapping for side independent modifiers (press both + key) 2019-05-28 18:29:18 +02:00
Stephen Anthony d1df80b41d Code cleanup, formatting, etc. 2019-05-28 11:39:49 -02:30
Stephen Anthony c4443715cc Make Events for snapshots always available, even when PNG support is disabled.
- otherwise, builds with and without PNG support will potentially have different mappings
- this makes it very hard to test on devel systems where support is enabled/disabled
- basically, events are hard-coded to certain values, and shouldn't change based on support for any particular subsystem

Fix warnings from clang.
2019-05-28 11:29:56 -02:30
thrust26 8f6dfda42f refactor ESC key handling
make remaining control hotkeys configurable
2019-05-27 23:01:03 +02:00
thrust26 ef8fdc8cd9 fix combined modifier handling (finally :-)
make more hotkeys configurable
2019-05-27 20:01:49 +02:00
thrust26 bb7c3c429c fix fullscreen toggle in menu modes
made 'Quit' event configurable
2019-05-26 22:20:33 +02:00
thrust26 a9e4531104 fix 'Reset' and 'Default' for multiple event mappings 2019-05-26 21:35:15 +02:00
thrust26 b45b192445 fix default key mappings 2019-05-26 20:41:34 +02:00
thrust26 54decb2cdf mapping for standalone and combined modifiers fixed 2019-05-26 19:53:14 +02:00
thrust26 308cc1864d fix not working erase button 2019-05-26 10:39:26 +02:00
Christian Speckner 97dfbd9fe8 Fix memory corruption. 2019-05-26 00:32:13 +02:00
thrust26 9ea265859a add new mappings automatically
add more events which can be remapped
enable all emulation events for pause mode too
2019-05-26 00:07:53 +02:00
thrust26 5e36cb9fed allow tab keys to be remapped in menu mode too 2019-05-25 19:39:55 +02:00
Stephen Anthony b1b0f685d1 Fix compile error and warnings in macOS.
Still need to fix crashes on startup.
2019-05-25 15:01:00 -02:30
thrust26 976d9bbe72 move some fixed hotkeys to remap-able keys 2019-05-25 19:14:01 +02:00
Stephen Anthony 3b9c1e2768 Updated libpng to latest release. 2019-05-25 14:15:26 -02:30
thrust26 6b70b2dc9b fix 'Erase' in Input dialog, now removes additional mappings for keys too 2019-05-25 18:03:21 +02:00
thrust26 28b22f57a5 add missing modifier to 'eventForKey'
remove default modifier KBDM_NONE
2019-05-25 17:13:12 +02:00
Stephen Anthony a38776decc libretro: fix missing KeyMap class. 2019-05-25 11:41:10 -02:30
Stephen Anthony 5b4fee61dd Fix compilation for new keymapping stuff in Linux/libretro. 2019-05-25 11:38:18 -02:30
thrust26 fc79665d3a refactor key mapping using hash map
key mapping now allows key + modifier combinations
2019-05-25 15:12:34 +02:00
Stephen Anthony a2a3844d3d Silence warning from clang. 2019-05-24 18:15:32 -02:30
thrust26 d3662ee9c8 key for entering Options dialog can now be remapped as documented 2019-05-24 18:31:46 +02:00
Stephen Anthony c86aa6957b Fix crash in certain cases (most obvious when selecting cart tabs in debugger). 2019-05-23 18:24:00 -02:30
thrust26 ae439ba318 add zoom level hotkeys to documented hardcoded actions 2019-05-23 22:17:39 +02:00
thrust26 b68a7ffb9f remove 'Backspace' key from hardcoded actions 2019-05-23 21:32:14 +02:00
thrust26 acbe9b2677 Merge branch 'master' of https://github.com/stella-emu/stella 2019-05-23 19:05:00 +02:00
thrust26 d2027a8a97 fix backspace not working in launcher 2019-05-23 19:04:39 +02:00
Stephen Anthony 8b5e45d810 libretro: remove unneeded file. 2019-05-22 08:50:38 -02:30
funbars baf4dc8d07 libretro uwp (fix) 2019-05-22 08:31:11 -02:30
thrust26 6a70dc7863 fix #480 2019-05-21 23:15:20 +02:00
thrust26 6654d18721 added a few missing CLI parameter descriptions to CLI help 2019-05-19 20:49:19 +02:00
Stephen Anthony 9c2f96e600 libretro: more cleanup. 2019-05-19 12:26:07 -02:30
Stephen Anthony af40918d17 libretro: minor cleanup. 2019-05-19 12:02:09 -02:30
thrust26 3d0b11d20f fix #479 2019-05-19 16:20:23 +02:00
thrust26 cdcbf4b079 highlight focused widget initially 2019-05-19 12:33:12 +02:00
thrust26 50088b08a5 removed "height" from doc text and Settings 2019-05-19 11:45:18 +02:00
thrust26 d08cd7cbbd minor code fixes 2019-05-19 10:13:55 +02:00
Stephen Anthony 33c4e81bb0 Fix minor compile warnings, including using float instead of double in a few places. 2019-05-18 20:48:13 -02:30
funbars 889fb0e651 libretro vita 2019-05-18 20:47:38 -02:30
Stephen Anthony dac0fe7a7e libretro: fix compile for recent FrameBuffer method change. 2019-05-18 09:53:34 -02:30
thrust26 f466ddc544 make sure that last windowed position is on screen 2019-05-18 12:26:26 +02:00
thrust26 95d8bb870d add non-integral TIA zoom steps (partially addresses #263) 2019-05-18 10:30:23 +02:00
thrust26 49585250fd add another cleanup remembering last windowed position code 2019-05-18 09:04:06 +02:00
thrust26 53597938b6 cleanup remembering last windowed position code 2019-05-18 08:43:02 +02:00
Stephen Anthony 22b15d7f37 Fix warnings, and compile failure for libretro. 2019-05-17 21:53:59 -02:30
thrust26 6fc3863ef9 make Stella remember the last window position (now Center option makes a difference!) 2019-05-17 22:19:27 +02:00
Stephen Anthony d377d2a9a2 libretro: fix warning for unhandled controllers. 2019-05-17 11:20:12 -02:30
funbars 4b5c7eb7f2 libretro controls (fix) 2019-05-17 11:18:06 -02:30
thrust26 e7d2926eba add overscan to launcher 2019-05-16 22:30:37 +02:00
funbars ae4a796382 libretro speedup 2019-05-16 14:36:05 -02:30
Stephen Anthony b10ba17a0c libretro: fix compile flags
- turned off most warnings, since this build is not meant for developers
  (bugs will be fixed on the main devel machines, where warnings are more useful)
- use C++14 flag for non-Windows builds only
2019-05-15 16:59:03 -02:30
thrust26 00355c01a4 remove overscan from windowed modes 2019-05-15 21:08:55 +02:00
thrust26 91e46faddf add overscan option to StellaSettingsDialog
fix dialog position when overscan is enabled
2019-05-15 20:05:17 +02:00
funbars 1e7ff8974f libretro runahead 2019-05-15 15:00:58 -02:30
Stephen Anthony 68d49f8e43 libretro: remove unused variable. 2019-05-15 13:53:46 -02:30
thrust26 c61f3e9a1d Merge branch 'master' of https://github.com/stella-emu/stella 2019-05-15 18:18:11 +02:00
thrust26 c5eadcef26 update properties for Thrust and spelling of my name :) 2019-05-15 18:17:58 +02:00
Stephen Anthony 12a95dc176 Updates to conditional compilation.
- Don't create certain directories when not needed
- Don't include certain items in ContextMenu when not applicable
2019-05-15 13:30:27 -02:30
funbars a6412f4ab2 libretro cleanup (startup) 2019-05-15 12:25:58 -02:30
funbars d86f5d8a07 libretro options (reorder) 2019-05-15 12:25:10 -02:30
funbars 7baa82cb30 libretro uwp 2019-05-15 08:30:29 -02:30
Christian Speckner c75fcfae13 RAII wrapper for sqlite transactions, better transaction handling in key value repo. 2019-05-15 10:32:01 +02:00
Stephen Anthony 050a27f1ae Fixed HiDPI mode for all remaining dialogs (Time Machine, BrowserDialog, etc).
All that's left to do now is testing.
2019-05-14 18:34:34 -02:30
thrust26 d6fbaba4d4 fix missed VS refactoring 2019-05-14 22:55:55 +02:00
thrust26 b043ed5335 renamed 'setTickmarkIntervals' 2019-05-14 22:52:06 +02:00
thrust26 94de76b78e implement emulation fullscreen overscan 2019-05-14 22:44:48 +02:00
thrust26 5aab1afc7c rename labels for clarity 2019-05-14 19:03:03 +02:00
Stephen Anthony 28ad745b66 Eliminate unused variable (found by gcc-9). 2019-05-14 13:02:15 -02:30
funbars 1b4b2b3fe5 libretro makefile 2019-05-14 08:46:46 -02:30
Stephen Anthony a894496e77 A little too eager with GUI_SUPPORT. 2019-05-13 20:43:02 -02:30
thrust26 1e8f62d677 fix widget alignment in UIDialog 2019-05-13 20:14:25 +02:00
thrust26 c0c95c0c15 add restart info text for HiDPI mode 2019-05-13 19:52:59 +02:00
thrust26 093fd4eb75 add hidpi option checkbox to UIDialog 2019-05-13 19:04:39 +02:00
Stephen Anthony 087dd1dbb9 Fix imageRect not being correctly set for fullscreen UI modes.
- This caused incorrectly positioning for ContextMenu
- With this fix, the positioning code in ContextMenu and related dialogs becomes a lot less complex
2019-05-12 19:12:30 -02:30
thrust26 9aa75502b2 move label names into central header 2019-05-12 22:23:23 +02:00
thrust26 88f64473e9 limit states to 100 for R77 2019-05-12 21:40:28 +02:00
thrust26 bef2981796 align R77 dialog to button labels 2019-05-12 21:16:28 +02:00
thrust26 93c7a69351 rename "dejitter" parameter names and add them to the CLI help 2019-05-12 19:55:14 +02:00
thrust26 32a6f10f0c remove unused code 2019-05-12 18:59:46 +02:00
Stephen Anthony bff503a001 Refactor DialogContainer and child classes.
- instead of using a protected instance variable, each derived class now has its own private variable
- each derived class also takes responsibility for deleting its private variable
- various API cleanups
2019-05-11 22:16:23 -02:30
Stephen Anthony c37e245c7a All widgets and dialogs using 'ContextMenu' now work in hidpi mode. 2019-05-11 19:50:42 -02:30
Stephen Anthony ef93ecfbd6 PopupWidget is now correctly positioned in hidpi mode. 2019-05-11 18:17:42 -02:30
Stephen Anthony e7759048ca First pass at implementing 'hidpi' mode. For now, it is available with 'hidpi' option only from the commandline.
- This is still a WIP, but is already very usable; I can finally see the UI on my 4k monitor :)
2019-05-11 14:33:07 -02:30
Stephen Anthony fccd62607b Highlight widgets when they gain and lose focus.
- This allows widgets that are navigated using the keyboard/joystick to look the same as when using the mouse.
- For R77 in particular, this really helps when seeing which button is currently selected.
2019-05-10 23:07:36 -02:30
Stephen Anthony ce989df3e2 Update for next beta release. 2019-05-10 09:24:55 -02:30
thrust26 1d9fc3a1ab add missing buttons and keys (described in R77 help) 2019-05-09 22:16:00 +02:00
thrust26 eb2ece7bde define dejitter defaults 2019-05-09 20:11:42 +02:00
thrust26 41b990109a split paddle dejitter settings 2019-05-09 19:05:33 +02:00
thrust26 f619fe33d2 adjust dejitter factors 2019-05-08 22:36:11 +02:00
thrust26 d21f5fdb22 add dejitter UI and experimental parameters 2019-05-08 22:02:04 +02:00
orbea d2bc950e84 libretro: Silence clang warnings for unix.
clang-8: warning: -lpthread: 'linker' input unused [-Wunused-command-line-argument]
2019-05-08 17:18:15 -02:30
orbea 92d95db9d8 libretro: Fix build. 2019-05-08 16:59:46 -02:30
thrust26 8e68a51ed4 add first coarse stab at paddle anti-flicker 2019-05-08 20:12:48 +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
thrust26 c83d22604b Save input mappings when leaving dialog 2019-05-07 20:23:28 +02:00
Christian Speckner e65d9250f3 Add joymap to support the R77 paddles. 2019-05-07 00:26:05 +02:00
Stephen Anthony 3b108dcdeb Fix warnings from clang. 2019-05-05 11:43:31 -02:30
thrust26 b4e0eb8792 fix R77 buttons in launcher 2019-05-05 13:19:20 +02:00
thrust26 e7d75ae408 fix event for R77 2019-05-05 12:51:57 +02:00
thrust26 888aa393d6 add missing include 2019-05-05 12:49:37 +02:00
thrust26 feca959d1e update R77 readme 2019-05-05 11:29:47 +02:00
thrust26 977359aec9 add more and fix default buttons for R77
add rewind/unwind events
improve R77HelpDialog
2019-05-05 11:18:49 +02:00
thrust26 60260843ff improve dialog stacking 2019-05-05 08:55:24 +02:00
thrust26 ed5f8cb9de oops 2019-05-05 08:01:08 +02:00
thrust26 4f9927ae9f add R77 help dialog 2019-05-05 00:05:28 +02:00
Stephen Anthony 72ecc92326 Pass event to change 4:3/16:9 mode in Min UI. 2019-05-04 17:58:19 -02:30
thrust26 95341b9030 add frying to min UI command dialog 2019-05-04 21:09:35 +02:00
Christian Speckner ca96f20bc2 Make failure to checkpoint WAL non-fatal, make sure that early logs are not swallowed. 2019-05-04 20:38:13 +02:00
Christian Speckner cc5db6b330 Put DB in WAL mode. 2019-05-04 20:38:13 +02:00
Stephen Anthony e933bd9c6b Allow 4:3/16:9 button in MinimalUI mode to work without restarting the ROM. 2019-05-04 15:51:29 -02:30
orbea 9a49670d74 libretro: Hide compiler options from msvc. 2019-05-04 11:48:49 -02:30
thrust26 39d3eefcef make 'Cancel' work in command dialogs 2019-05-04 12:55:39 +02:00
thrust26 951b13ed97 fix settings not opening in launcher 2019-05-04 12:23:03 +02:00
thrust26 91317be73d add more default joystick button mapping
- open settings via joystick button in launcher and during emulation (4th button)
- open command menu and exit to launcher via joystick buttons during emulation (3rd and 5th button)
- cycle tabs via joystick 3rd and 4th buttons
2019-05-04 11:47:53 +02:00
thrust26 a38f56fe91 define tab cycling events and make tab cycling configurable 2019-05-04 11:37:43 +02:00
Christian Speckner e015025d90 Minor optimization to settings I/O. 2019-05-04 10:42:18 +02:00
Stephen Anthony ab8e5a59d4 libretro: re-enable `ignored-qualifiers` warnings. 2019-05-03 21:53:03 -02:30
Stephen Anthony 0fa83b0fd0 Fix compilation with sqlite (missing include header file). 2019-05-03 20:42:16 -02:30
Christian Speckner 6da1968845 Pacify compiler warning (and fix sqlite on windows). 2019-05-04 00:47:02 +02:00
thrust26 24602b4f53 prevent exiting command dialog with toggle key when using minimal UI 2019-05-03 19:34:39 +02:00
Stephen Anthony 1ad61ea117 Removed some redundant 'const', and with it re-enabled '-Wignored-qualifiers'. 2019-05-03 12:39:03 -02:30
orbea eb3e1b00dd libretro: Attempt to fix the ios build.
This copies the solution for the osx build which failed the same way.
2019-05-03 12:04:18 -02:30
orbea 17c64658ed libretro: Fix identing in the Makefile. 2019-05-03 11:49:49 -02:30
orbea 7b098e6185 libretro: Add -stdlib=libc++ to the LDFLAGS for osx too. 2019-05-03 11:11:58 -02:30
funbars d72b2da88e libretro stella msvc changes 2019-05-03 09:07:26 -02:30
orbea 8bccc11ce1 libretro: Remove CFLAGS and CC from the Makefile.
stella is a c++ project and these appear unused.
2019-05-03 09:06:34 -02:30
orbea f13a86c1dd libretro: msvc again... 2019-05-03 09:05:42 -02:30
orbea b5c9caa67f libretro: Try setting osx to 10.7. 2019-05-02 19:06:55 -02:30
orbea 7c79a4dd03 libretro: Attempt to fix osx again. 2019-05-02 18:40:37 -02:30
Stephen Anthony 83a3bdd6cd GUI support is now conditional in Stella. This is enabled by default for all ports except libretro.
- When disabled, it also disables the debugger and cheatcode support
- UI-wise, this reverts Stella to 1.x functionality (before any internal UI was added)
- Eliminates 47000 lines of code for those ports (like libretro) that don't need it.
2019-05-02 17:58:39 -02:30
Stephen Anthony 5a7d18159b Move Rect class in VS project. 2019-05-02 17:21:02 -02:30
Stephen Anthony e745ecf692 Move Rect class for upcoming commit. 2019-05-02 17:13:33 -02:30
orbea 7a5d245ae0 libretro: Attempted fix for osx. 2019-05-02 15:43:52 -02:30
orbea 37268ea5c0 libretro: Remove unused include paths. 2019-05-02 11:59:01 -02:30
orbea 6c551d5ab5 libretro: Yet another fix for msvc. 2019-05-02 11:37:43 -02:30
orbea b34e0ef73b libretro: Another fix for msvc. 2019-05-02 09:12:19 -02:30
funbars b78171cea6 fix loadstate 2019-05-02 09:11:23 -02:30
orbea 0f8c8fcab3 libretro: Fix linux build. 2019-05-02 09:10:41 -02:30
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
Stephen Anthony 351462ddff Xcode project changed again for some reason??? 2019-05-01 19:17:13 -02:30
Stephen Anthony d8f28f19ce libretro: Added Logger class to VS project. 2019-05-01 19:10:55 -02:30
Stephen Anthony ff5d2f5b96 Updated VS project for Logger class. 2019-05-01 19:09:27 -02:30
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
Christian Speckner 8e22dc52b4 Log via Logger singleton, fixes races between logging and OSystem teardown. 2019-05-01 23:14:16 +02:00
Stephen Anthony 8a0591698a Directories need to be created on initial startup, not when loading config files. 2019-05-01 18:00:14 -02:30
trinemark 20d5615f1f libretro: fix msvc makefile 2019-05-01 14:05:42 -02:30
Stephen Anthony bd288f7119 Fix missing 'override's. 2019-05-01 12:57:49 -02:30
thrust26 d4479f4e43 allow to position dialogs centered and in corners 2019-05-01 17:19:40 +02:00
Christian Speckner 0e6e54f15c Save settings immediatelly on sqlite and macos. 2019-05-01 12:04:09 +02:00
Christian Speckner 017c2a7c16 Final refactoring & cleanup to generalize sqlite handling. 2019-05-01 11:42:22 +02:00
thrust26 fc3989fda1 allow open Power-on options via joystick 2nd button
add initial documentation for R77 (navigation only)
2019-05-01 11:28:23 +02:00
thrust26 dcc8d98f7f fix Help dialog for reordered TV modes 2019-05-01 11:11:52 +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
thrust26 174b630c99 Merge branch 'master' of https://github.com/stella-emu/stella 2019-05-01 08:24:17 +02:00
thrust26 5a2c9558f5 add tab widget navigation for R77 2019-05-01 08:23:51 +02:00
Stephen Anthony 49706b4190 Updated Xcode for recent class additions. 2019-04-30 21:20:42 -02:30
Stephen Anthony 73d8ec10ee Add new 'Repository' files to VS project. 2019-04-30 21:16:33 -02:30
trinemark b336420eca libretro: add project file
KeyValueRepositoryConfigfile
2019-04-30 20:25:55 -02:30
Christian Speckner 408dd6a30c Add transaction, rework error handling. 2019-04-29 21:30:43 +02:00
Christian Speckner 4d0da9b8e7 Merge branch 'master' into sqlite 2019-04-29 00:50:30 +02:00
Christian Speckner b1f485e2bd Implement sqlite repository, fix link against sqlite3. 2019-04-29 00:46:27 +02:00
trinemark f69cc5cb6c libretro: make getRAM const
use shadow ram copy for frontend
2019-04-28 18:33:44 -02:30
trinemark 3f9ca310c3 libretro: getRAM conditional compile
temporary workaround
2019-04-28 16:48:50 -02:30
trinemark 2284dc7f55 libretro: add achievements
http://retroachievements.org/gameList.php?c=25
2019-04-28 16:48:50 -02:30
trinemark a795593000 libretro: adjust blargg crop 2019-04-28 12:05:01 -02:30
trinemark 503501a951 libretro: fix blargg par 2019-04-28 12:05:01 -02:30
trinemark 007795af8d libretro: fix blargg filter on startup 2019-04-28 12:05:01 -02:30
thrust26 80482aa7e5 allow minimal command dialog to open options dialog
define cancel key (P2 Skill) for R77
2019-04-28 10:33:38 +02:00
Stephen Anthony e34575753a Some cleanups to Widget class. 2019-04-27 22:09:05 -02:30
trinemark e428768307 libretro: crop horizontal overscan option 2019-04-27 19:23:18 -02:30
Stephen Anthony 04304fce32 Fix compile warnings and errors from last commit, detected by clang. 2019-04-27 17:08:58 -02:30
thrust26 75650f1930 add option to switch settings mode in minimal UI 2019-04-27 21:07:18 +02:00
Stephen Anthony a7cf51995e Add missing class to Xcode. 2019-04-27 14:13:01 -02:30
trinemark 1e42d8f50a libretro: add MinUICommandDialog to project 2019-04-27 13:00:57 -02:30
trinemark 1d29fb1282 libretro: add more controllers
joysticks: paddles (4), driving (2), booster (2)
2019-04-27 11:07:12 -02:30
Christian Speckner f9554ee3df Hook up SQLite in build system, scaffold SQLite repository. 2019-04-26 23:08:55 +02:00
Stephen Anthony 2d4b2a314e Minor code cleanup (unique_ptr is automatically set to null). 2019-04-26 18:21:08 -02:30
Christian Speckner 262084778e Coding style. 2019-04-26 22:27:20 +02:00
Christian Speckner 96b5ffc386 Adjust VC project files for removal of Settings classes. 2019-04-26 22:26:55 +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
thrust26 5397c8d69e enabled rewind/unwind (TODO: define TM settings) 2019-04-26 21:51:50 +02:00
Stephen Anthony b24a8bcb70 Fix for one compile warning and one compile error :) 2019-04-26 16:01:25 -02:30
thrust26 d3785e6994 Assign R77 16:9 button to command dialog 2019-04-26 20:14:07 +02:00
thrust26 a54b153158 added minUI command dialog 2019-04-26 20:07:22 +02:00
thrust26 469f246053 Merge branch 'master' of https://github.com/stella-emu/stella 2019-04-26 20:04:06 +02:00
thrust26 288d91dc47 removed MinUI-Button 2019-04-26 20:03:48 +02:00
Stephen Anthony d956504d99 Updated evdev-joystick for latest changes from upstream. 2019-04-26 15:15:01 -02:30
Stephen Anthony 35ca8edbaf More fixes for ZIP_SUPPORT
- add extra commenting in FSNodeZIP concerning why another node is needed
- exclude zip files from the ROM launcher when ZIP_SUPPORT is disabled
2019-04-25 22:26:14 -02:30
Christian Speckner 126464f66f Switch MacOS to SettingsRepository, fix clash between bspf.hxx and Cocoa. 2019-04-26 00:23:53 +02:00
Christian Speckner 14e903d8a1 Introduce KeyValueRepository, change OSystem and Settings to use it. 2019-04-25 21:36:04 +02:00
Stephen Anthony dd09187fc0 In the TIA class, isolate developer settings and re-apply them on each state load.
Eliminates saving of certain variables into the state file which really don't belong there.
2019-04-24 20:00:05 -02:30
Stephen Anthony ea89ef01b4 Refactor DPC+ code wrt 'jitter'. The code and commenting now properly indicates that it is
a difference in mask values, and not actually jitter (TV 'jitter' effect is actually something else,
and is not causing the screen shaking here).
2019-04-24 17:11:37 -02:30
Stephen Anthony 681c8156bd Greatly reduced warnings from libretro Makefile in Linux. 2019-04-24 16:43:16 -02:30
Stephen Anthony 2cf88abb99 Remove compile error in VS 2019 wrt std::min.
Refactor libretro code to no longer need SDL and ZLIB stub headers.
2019-04-24 16:11:30 -02:30
Stephen Anthony 00e464afc3 Enable conditional compilation for ZIP/zlib support. 2019-04-24 15:36:20 -02:30
thrust26 c3483d1553 larger fonts in all dialogs when using minimal UI 2019-04-23 20:08:03 +02:00
Stephen Anthony 1042c4ff7f First pass at conditional compilation of SDL for Stella.
For now, it's enabled for all mainline ports.
Stella doesn't absolutely need SDL (as the libretro port shows); it's less than 2000 lines in 220,000+ LOC,
2019-04-23 13:56:15 -02:30
Christian Speckner 6c1efce278 More TIA documentation. 2019-04-22 23:24:41 +02:00
Stephen Anthony 7b2ca28306 Disable 'jitter' effect in older DPC+ driver versions (fixes #429). 2019-04-21 21:56:54 -02:30
Stephen Anthony 94507a9444 Fix minor compile warnings for libretro. 2019-04-21 21:20:14 -02:30
Stephen Anthony e865cde07b Re-enabled PNG support for Xcode, and fixed minor warnings. 2019-04-21 21:02:30 -02:30
Stephen Anthony 519f9a3b21 Removed obsolete PNG header from libretro build. 2019-04-21 20:42:09 -02:30
Stephen Anthony 6bb6a3f263 Re-enable PNG support in Windows, and fix minor warnings. 2019-04-21 20:31:30 -02:30
Stephen Anthony eb13d515fb Enable conditional compilation for PNG support. Some ports (libretro) don't need it at all. 2019-04-21 20:07:56 -02:30
Stephen Anthony 32d90c1935 Removed '-Wno-double-promotion' from the build flags.
This necessitated fixing float -> double promotions in several places in the code.
In most cases, double was never being utilized anyway, so there was a slight performance hit for casting when not required.
2019-04-21 15:10:07 -02:30
Stephen Anthony 9d287666f9 Fixed libretro errors preventing a successful build.
Still TODO is actually test this functionality.
2019-04-20 19:24:17 -02:30
Stephen Anthony 36da2bcabc Make sure fullscreen TIA modes actually use real fullscreen dimensions.
Previously, they would sometimes use desktop dimensions, and on current versions of SDL,
this would exclude areas meant for taskbars, etc.  So the resulting image was smaller than it should have been.
2019-04-20 18:23:50 -02:30
Stephen Anthony efb196224a Minor refactoring. 2019-04-20 17:34:10 -02:30
Stephen Anthony 5d6a0f9dbb When saving logfile, show a message indicating location.
Since the logfile is now saved to the default OSystem location, we no longer need PATH_SEPARATOR,
so remove all instances of it.
2019-04-20 17:29:25 -02:30
trinemark cae32b0b3f add libretro port 2019-04-20 17:06:25 -02:30
Stephen Anthony bf865e37ab Move ROM properties normal enum to 'enum class'; this actually spread to other issues:
- properties names for 'Cartridge' changed to 'Cart'; this can speed up processing
- fixed several bugs in stella.pro (missing newlines)
- fixed 'create_props'; now it works from either the base directory or the tools directory
Reworked properties database names
2019-04-20 15:42:46 -02:30
thrust26 18babfc7a5 Merge branch 'master' of https://github.com/stella-emu/stella 2019-04-18 22:16:14 +02:00
thrust26 ae0d2c64d8 add Genesis controller detection for Super Cobra Arcade and Scramble 2019-04-18 22:15:58 +02:00
Christian Speckner 9385117723 Move inlined sprite tick logic to improve readability. 2019-04-15 12:06:41 +02:00
Stephen Anthony a947553bad More 'enum class' and associated cleanups. 2019-04-14 16:22:46 -02:30
thrust26 e4ef7cc01b CommandDialog stays open when changing TV format and palette 2019-04-14 19:39:09 +02:00
Stephen Anthony 5dde762b85 Changed 'tia.fsfill' option to 'tia.fs_stretch'. 2019-04-14 14:57:28 -02:30
Christian Speckner 0f3648ee09 Convert to ARC. 2019-04-14 18:52:58 +02:00
Christian Speckner d63f68508f Update NIBs, resolve warnings. 2019-04-14 18:40:21 +02:00
Christian Speckner d394dd876d Turn warnings in XCode to 11, pacify warnings. 2019-04-14 18:25:02 +02:00
Stephen Anthony 56ad3a6ea1 Turned off patching support in 3E+ scheme.
This class is still a WIP, and doesn't work for all test ROMs.  So it doesn't make sense to work on this part until we can dedicate more time to it.
2019-04-14 13:16:52 -02:30
thrust26 937ecca8c1 aligned Booster Grip buttons naming 2019-04-14 16:20:09 +02:00
Stephen Anthony d54f106a3a And yet more 'enum' cleanups. 2019-04-13 22:44:23 -02:30
Stephen Anthony 4d99772a10 More 'enum class' conversions. 2019-04-13 22:26:53 -02:30
Stephen Anthony 535fffdc46 More conversions from 'enum' to 'enum class' and 'constexpr'. 2019-04-13 21:35:29 -02:30
Stephen Anthony 53b6a2ef89 Converted some more 'enum' to 'enum class'. 2019-04-13 20:57:46 -02:30