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
Stephen Anthony
0b3fc8890d
Fix 'minimal_ui' mode for non-R77 build; it should still show a window title.
2019-04-13 20:36:16 -02:30
Stephen Anthony
99d6d40a50
Fix minor compile warning.
2019-04-13 19:35:15 -02:30
thrust26
e1c0284a21
With minimal UI, launcher dialogs use launcher font.
2019-04-13 21:45:37 +02:00
thrust26
4e1c13ce6d
improved dialogs and launcher navigation with joysticks (left and right)
2019-04-13 15:44:19 +02:00
thrust26
0cfc88e10c
fixed wrong reaction on directional button release (code -256)
2019-04-13 13:43:35 +02:00
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
thrust26
35b7f96ad1
fixed joystick tab order in Power-On options dialog
2019-04-07 15:10:01 +02:00
thrust26
f46079b762
added R77 keyboard mapping for launcher and dialogs
2019-04-07 12:27:45 +02:00
thrust26
25cbc2db3a
an attempt to map F1 (Select) to StellaSettingsDialog
2019-04-06 21:01:32 +02:00
thrust26
fe398360fb
fixed endless loop when saving snapshot in Pause mode
2019-04-06 19:43:15 +02:00
thrust26
372ecf0608
made 'checkBounds()' non-virtual and protected, using uInt32
2019-04-06 15:42:57 +02:00
Christian Speckner
83c8b74800
Fix regression in collision handling.
2019-04-06 12:33:50 +02:00
thrust26
0d1848dcda
added surface boundary check
2019-04-06 12:11:03 +02:00
thrust26
b62a33607c
Merge branch 'master' of https://github.com/stella-emu/stella
2019-04-06 10:50:32 +02:00
thrust26
8fe00ff523
improved joystick detection (for future games)
...
restored properties for my old Missile Command trackball hacks
added Genesis controller properties for Scramble and SuperCobra Arcade
2019-04-06 10:50:07 +02:00
Stephen Anthony
8c3741fc97
Updated ROM properties.
2019-04-06 00:20:36 -02:30
Stephen Anthony
c96d97c8e8
Set default TIA aspect to 100% for both NTSC and PAL.
...
This is in the process of being reworked, and may disappear eventually.
2019-04-06 00:05:00 -02:30
Stephen Anthony
4e2df09b10
Reactivate syncing for R77 stellarc file.
2019-04-05 23:59:09 -02:30
Stephen Anthony
88af3c0b43
Add ARM detection to bspf.
...
Fixed a few minor warnings.
2019-04-05 23:37:48 -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
a44e9bd80e
Added 'Amoeba Jump' to the properties database.
2019-04-05 13:32:06 -02:30
thrust26
ea4d010422
updated for Synthcart controller detection
2019-04-05 15:04:31 +02:00
thrust26
f716bc47a7
removed auto detected controllers (per game!) from Stella.pro
2019-04-05 12:50:47 +02:00
thrust26
2ad206eac1
improved joystick and genesis detection
2019-04-05 12:38:17 +02:00
thrust26
2bc87ae51e
aligned preset naming to UI (part 2)
2019-04-05 09:53:03 +02:00
thrust26
64db033961
aligned preset naming to UI
2019-04-05 09:52:08 +02:00
thrust26
14b22d185b
updated audio docs
2019-04-05 09:48:03 +02:00
Thomas Jentzsch
3f5440bb24
some minor UI cosmetics
2019-04-04 10:56:39 +02:00
Stephen Anthony
be775b53e3
Made TIA window always open at a multiple of the minimum bounds
...
- this means that 320x240 is now the default 'base' size, and zoom levels are based on that
- the TIA image is rendered into whatever sized window is active, meaning that NTSC and PAL modes now look similar
Removed some 'small screen' dead code in FrameBuffer.
2019-04-03 20:27:30 -02:30
thrust26
285583f959
removed option to disable scanline interpolation
2019-04-03 23:37:28 +02:00
thrust26
20936a46a0
Merge branch 'master' of https://github.com/stella-emu/stella
2019-04-03 18:32:58 +02:00
thrust26
db833249df
made scanlines available in non-Blargg modes
2019-04-03 18:32:42 +02:00
Stephen Anthony
63d7a3f929
Increase release version to beta1, for upcoming R77 test.
2019-04-02 20:01:03 -02:30
thrust26
e2f5be4725
Phosphor and scanlines levels: 0 displayed as 'off'
2019-04-02 18:16:04 +02:00
Thomas Jentzsch
19148d4d27
removed XP warning
2019-04-02 16:47:54 +02:00
Thomas Jentzsch
b6cb1734ea
a litte code cleanup
2019-04-02 16:10:30 +02:00
Thomas Jentzsch
6011a0823d
Further simplified StellaSettingsDialog
2019-04-02 14:52:40 +02:00
Stephen Anthony
6cd2f1521a
Silence some compiler warnings
...
- Some of these are quite unncessary, but the compiler won't shut up otherwise.
2019-04-01 11:44:00 -02:30
Thomas Jentzsch
ff65426954
safety fix for unusual small ROMs.
2019-04-01 16:03:14 +02:00
Thomas Jentzsch
8c8128934c
fixed enabling of EEPROM erase buttonin GameInfoDialog
...
updated doc for enhanced command dialog and controller auto detection
2019-04-01 13:41:09 +02:00
Stephen Anthony
600deea4a3
Merge branch 'master' of github.com:stella-emu/stella
2019-03-31 20:35:57 -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
93bf944381
In ListWidget, left and right action now does PgUp/PgDn too.
...
- this is available for all ports, but is most beneficial for R77, which has only joystick input
2019-03-31 20:28:08 -02:30
Christian Speckner
b289232002
Fix starfield regression.
2019-03-31 22:09:10 +02:00
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
96e93c7171
Updated VS project with new file.
2019-03-31 12:23:28 -02:30
Stephen Anthony
54afc16015
Updated Xcode for recent class additions.
2019-03-31 11:55:38 -02:30
Stephen Anthony
76131a0e73
Minor changes in M6532 naming to match what used in other classes.
2019-03-29 22:34:27 -02:30
Stephen Anthony
6d1ad6da92
Reactivate some code that was commented out in the last commit(s).
2019-03-29 22:16:46 -02:30
Stephen Anthony
e6e337cd02
Fixes for previous commit; remove indirection and inherit directly from ControllerLowLevel.
2019-03-29 21:07:20 -02:30
Stephen Anthony
cfe79ec0b1
Major changes to controller infrastructure.
...
Basically, separate high-level read/write from low-level set/getPin methods.
2019-03-29 20:47:24 -02:30
thrust26
39884db86f
refactored/renamed key state parameters (pressed vs. released)
2019-03-29 23:49:29 +01:00
thrust26
0666be24e6
adjusted hotkeys to reordered "TV modes"
2019-03-29 17:12:12 +01:00
Thomas Jentzsch
6f51b6039d
renamed and refined StellaSettingsDialog
...
added to OptionsDialog for testing
2019-03-29 13:42:47 +01:00
Thomas Jentzsch
785f7dc4b0
ordered tv effects by quality
2019-03-29 13:25:14 +01:00
Thomas Jentzsch
cffb73826a
Minor bug fix for Sega Genesis detection display
2019-03-29 11:47:36 +01:00
Thomas Jentzsch
9f0f03ec17
added preliminary reduced options dialog
2019-03-28 15:31:30 +01:00
Stephen Anthony
4b2b9aa626
Converted a few plain enum to 'enum class'; eliminated some dead code.
2019-03-24 19:04:07 -02:30
Stephen Anthony
0bb5dfd493
Certain widgets in DebuggerDialog not commented out in Player mode.
2019-03-24 18:07:29 -02:30
Christian Speckner
2e2b37396d
Playfield comments.
2019-03-24 21:15:02 +01:00