Commit Graph

2126 Commits

Author SHA1 Message Date
thrust26 b0af3891fe larger infoFont for minimal UI dialogs 2020-03-16 09:26:45 +01:00
Stephen Anthony 9ff00c3631 More fixes for DPC+ jitter issues, thanks to Spiceware. 2020-03-15 19:34:53 -02:30
Stephen Anthony bfb08cf203 Added "Stay Frosty 2" to properties database, and have it default to joysticks. 2020-03-15 19:18:14 -02:30
Stephen Anthony 1779845032 Make a few games that offer a choice of Joystick/Genesis to use Joystick by default.
Remove redundant 'Display.Format' stuff from properties, since it can now be deduced from the ROM name.
2020-03-15 15:54:31 -02:30
thrust26 ffef620e27 doc and usage() update for new launcher font sizes 2020-03-15 19:15:27 +01:00
thrust26 d3ff85cf1f add 3 large fonts (Terminus 12x24, 14x28 and 16x32)
use 12x24 font for R77 (launcher and dialogs)
improve font selection for ROM info viewer
minor fix for convbdf.c
2020-03-15 17:16:37 +01:00
thrust26 a623843d37 trying to fix compile issues 2020-03-15 08:23:54 +01:00
thrust26 2646934596 add one more intermediate font option to ROM info viewer 2020-03-14 23:29:58 +01:00
thrust26 e4c394a0ac replace launcher font value "small medium" with "small_medium" 2020-03-14 13:52:37 +01:00
thrust26 da3d183e75 replace launcher's small font with bold version
add 'small medium' font to launcher font options
doc update for variable ROM viewer widths and new launcher font size
2020-03-14 11:14:24 +01:00
Stephen Anthony a89188722e Changed 'romviewer' option to be treated as a multiplier for the zoom level of snapshots.
Old settings will still work (0 means off, 1 or 2 mean 1x and 2x zoom).  Floats are now supported too,
so we get fractional scaling.

Still TODO is update the UI to modify this setting.
2020-03-11 18:33:12 -02:30
Thomas Jentzsch 7fb41e4752 allow remapping of fire button for trackball and light gun games 2020-03-03 19:50:32 +01:00
thrust26 c98629892d add Sadistroids to properties 2020-02-29 18:46:32 +01:00
Christian Speckner d5385b9de9 Disable QIS on the R77 when scanlines and / or TV effects are enabled. 2020-02-26 10:46:43 +00:00
thrust26 3b252a7b6e allow paddle detection for games which also support joysticks 2020-02-23 10:03:39 +01:00
thrust26 de7284c1a0 define R77 paddle mapping for front ports AND OTA adapter
use "Grab Mouse" to switch mouse cursor in light gun games
2020-02-22 19:03:21 +01:00
thrust26 3951fbf0ee attempt to fix #575 2020-02-13 20:25:54 +01:00
Stephen Anthony 9d0d1c4cf2 Apply changes to DefProps based on latest 'const' vs. 'constexpr' refactoring. 2020-02-09 16:46:19 -03:30
Stephen Anthony af120a3eaf Wrap std::stoi inside BSPF::stringToInt, and handle its exceptions. 2020-02-07 21:00:06 -03:30
thrust26 ae43b33c7b fix Exit ROM from debugger (fixes #513) 2020-02-06 22:54:35 +01:00
thrust26 aa18ce6bcd disable user palette option if no file exists (resolves #572) 2020-02-06 20:44:17 +01:00
thrust26 7a7969ae8a fix stoi exception for Display_PPBlend 2020-02-06 20:12:37 +01:00
Stephen Anthony 6120142c97 Make search for format in ROM filename case-insensitive. 2020-02-05 18:37:08 -03:30
Thomas Jentzsch d0772ecc86 fix CartMDM serializing 2020-02-04 16:02:36 +01:00
thrust26 030f4140c7 very minor doc fix 2020-02-02 20:37:57 +01:00
Stephen Anthony aefaf6c650 Added '_' separator for regex when detecting display mode in filename. 2020-02-02 14:26:20 -03:30
Stephen Anthony fb347a7b3e Fix warning in Visual Studio.
Fix formatting to match other classes.
2020-01-31 23:47:27 -03:30
Stephen Anthony 990176d41d Update properties for recent stella.pro change. 2020-01-31 17:56:23 -03:30
thrust26 4bbfcba5b8 add phosphor to Dragonfire properties. 2020-01-31 22:22:57 +01:00
Stephen Anthony 149582abd9 Minor cleanup; exclude some debugger-only methods in non-debugger mode. 2020-01-27 13:29:15 -03:30
Stephen Anthony 5cb35031d1 Allow ROMs < 64 bytes (Stella's internal page size) to work correctly. Fixes #564. 2020-01-27 12:16:33 -03:30
Stephen Anthony 2751532a4b Fix Pick 'n' Pile properties; it misdetects as NTSC. 2020-01-25 18:19:06 -03:30
Stephen Anthony b032890cd4 Optimize state save for Audio classes; save byte instead of integer. 2020-01-25 18:02:07 -03:30
Stephen Anthony 4d6487b1bc Use regular expressions to match console type in ROM filename. 2020-01-25 17:53:32 -03:30
thrust26 ff388cfb31 make automatic TM saving load the states on enter too 2020-01-25 20:06:04 +01:00
thrust26 ffeaa61cbe adapt debugger UI to new display heights 2020-01-25 13:56:46 +01:00
thrust26 1ade839c0b adjust ystart for NTSC and PAL
adjust TIA sizes in debugger
2020-01-25 10:28:16 +01:00
thrust26 792cbb4ffa add display format auto-detection from filename (resolves #561) 2020-01-24 11:30:46 +01:00
Christian Speckner 9135c16eb6 Fix load / save in FrameManager. 2020-01-21 22:54:13 +01:00
Christian Speckner f869c9fe98 Only invalidate TIA surface when vcenter adjust has been changed. 2020-01-21 22:51:13 +01:00
Stephen Anthony 702b620041 Make debugging bankswitch selection easier. 2020-01-21 12:20:48 -03:30
thrust26 2ee0db23c4 fix exiting command menu
update docs
2020-01-20 19:02:55 +01:00
thrust26 dd3a58d4ac add hotkey to decrease current state slot 2020-01-20 12:11:26 +01:00
thrust26 5f28428ebd adapt exit popup changes for other platforms 2020-01-19 21:27:09 +01:00
thrust26 e3f1a0f49f initial commit before refactoring 2020-01-19 15:45:32 +01:00
Stephen Anthony 3fb752db15 A little too eager with code pruning. 2020-01-18 21:17:39 -03:30
thrust26 8acefcbb50 add autoslot setting to UI
update doc for autoslot and write to read port breaks
2020-01-18 11:08:00 +01:00
Stephen Anthony 4cb752980c Fixed incorrect array initialization. 2020-01-14 08:49:32 -03:30
thrust26 065df72619 Merge branch 'master' of https://github.com/stella-emu/stella 2020-01-14 11:24:00 +01:00
thrust26 a98c5c3eb4 fix #560 2020-01-14 11:23:39 +01:00
Stephen Anthony a10b38c3d7 Fix minor warning, and update state file format for recent changes. 2020-01-13 17:22:16 -03:30
thrust26 854e093b84 add v-center to FrameManager::load/save() 2020-01-13 21:39:09 +01:00
thrust26 fbfccfbec6 refactor v-size 2020-01-13 21:13:55 +01:00
Christian Speckner 1dc31af9dd Cleanup, adjustscanlines is now vsizeadjust. 2020-01-13 20:27:05 +01:00
Christian Speckner 5b99e3e998 Change adjustscanlines parameterization to -5% .. 5%, hook uo hotkey. 2020-01-13 00:06:23 +01:00
thrust26 3e9a9a7a2a reorder events
rename scanline adjust in input dialog
fix v-center input naming
2020-01-12 12:42:20 +01:00
thrust26 4580484835 reverse and limit vcenter 2020-01-11 20:28:55 +01:00
thrust26 a530bdcfb7 force sign for V-Center display 2020-01-11 15:46:53 +01:00
thrust26 096227ff54 adjust yStart 2020-01-11 09:57:45 +01:00
thrust26 eb260431b3 fix ControllerDetector.cxx paddles array size
adjust yStart
2020-01-11 09:57:18 +01:00
Stephen Anthony 6e2a254cee Add hotkey to change scanline adjustment. For now, this is only a stub. 2020-01-09 10:36:00 -03:30
Christian Speckner f7cb631ed4 Merge branch 'rework-aspect' 2020-01-07 21:15:53 +01:00
Christian Speckner fb2874732d Clear TIA image when chaning scanline count. 2020-01-07 21:15:24 +01:00
Christian Speckner c4e7088b0e Clamp height and ystart to semi-sensible values to avoid memory corruption. 2020-01-07 20:48:05 +01:00
thrust26 f746300d6b define light gun offsets using game's md5 sum 2020-01-06 20:10:35 +01:00
Christian Speckner bd9734ec66 Bug fixing spree -> scanline count works as expected. 2020-01-06 00:15:20 +01:00
Christian Speckner c16a16d7d4 Wire up new scanline count logic. 2020-01-05 23:14:44 +01:00
Christian Speckner cef81e0bb5 Settings: remove aspect in favor of scanlines adjust. 2020-01-05 00:36:10 +01:00
Stephen Anthony 5e310a3c5d Updated some ROM properties. 2020-01-01 13:05:55 -03:30
thrust26 c147588a7d fix crash when light gun game is started from command line 2020-01-01 15:27:42 +01:00
thrust26 7c938de49b improve paddle detection (Drone Wars) 2020-01-01 12:11:17 +01:00
Stephen Anthony 9ad47ae5f3 Updated copyright to 2020. Happy New Year to anyone reading this! 2019-12-31 13:48:56 -03:30
thrust26 bfbc1be35c rename light gun test ROM in properties 2019-12-31 12:41:01 +01:00
Thomas Jentzsch e3ef2ee31c replace magic number for Lightgun 2019-12-31 00:25:24 +01:00
thrust26 9a7dc74aea Merge remote-tracking branch 'remotes/origin/feature-lightgun' 2019-12-30 23:08:47 +01:00
Stephen Anthony 5762724399 Add ROM properties from Omegamatrix of AtariAge. 2019-12-30 18:32:21 -03:30
thrust26 8bf1f0c404 code cleanup
added Light Gun to docs
2019-12-30 23:00:49 +01:00
thrust26 86e01bc8b9 apply screen scaling to lightgun controller 2019-12-30 22:37:50 +01:00
thrust26 1295bd5cf6 get lightgun working preliminary 2019-12-30 17:27:28 +01:00
thrust26 24faa4955c Merge branch 'master' of https://github.com/stella-emu/stella into feature-lightgun 2019-12-30 09:48:04 +01:00
thrust26 5330dcdba6 add missing files 2019-12-30 09:47:31 +01:00
thrust26 bfb5bee208 make user aware of grab mouse limitations 2019-12-30 09:46:46 +01:00
thrust26 dbb4328ad5 initial work on lightgun 2019-12-30 09:11:46 +01:00
Stephen Anthony 54de3415ea More default initialization updates, in the process making c'tors smaller/non-existent.
I've already found a few potential bugs where instance variables weren't being initialized at all.
2019-12-29 18:36:56 -03:30
Stephen Anthony b2c70d7677 First pass at moving to default member initialization.
This fixes potential issues with forgetting to initialize in c'tors.
2019-12-28 21:14:52 -03:30
Stephen Anthony 041af0736c And yet more std::array conversions. Also a fix for overlaid UI message not being displayed. 2019-12-28 15:46:38 -03:30
Stephen Anthony 12fa260137 A few fixes I missed in the last commits. 2019-12-28 15:01:28 -03:30
Stephen Anthony 36683adec1 And yet more fixes for warnings from clang-tidy. 2019-12-28 00:45:09 -03:30
Stephen Anthony e49d401887 Activate changes from stella.pro. 2019-12-27 23:08:03 -03:30
Stephen Anthony a06c44d7a6 Switch to using size_t for all file access.
Note that we'll never actually need this, but I got tired of constantly casting all over the place.
2019-12-27 21:05:38 -03:30
Stephen Anthony 234ebb5373 Fix for warnings from Visual Studio. 2019-12-27 20:20:05 -03:30
Stephen Anthony 0c0f732e5f More conversions of C-style to std::array.
That's it for a little while; getting tired now ...
2019-12-27 19:22:09 -03:30
Stephen Anthony 74a2e4b9a9 Refactored phosphor calculations into a new PhosphorHandler class.
This class is accessible from both TIASurface and AtariNTSC, so there's no more code duplication.
Testing is required to see if this results in any slowdowns.  It shouldn't, since the relevant code is inlined ...
2019-12-26 20:26:39 -03:30
Stephen Anthony b51fd4d07a Fix crash when combomap isn't defined in config file. 2019-12-26 17:51:08 -03:30
Stephen Anthony b276a1e6a7 Huge refactoring of the palette-related code.
This has been developed ad-hoc over the years, with different subsystems (TIA, UI, phosphor, Blargg, etc).  This is an attempt to consolidate the code, and also move to C++-style arrays.
Still TODO is look into refactoring phosphor stuff out of TIASurface and AtariNTSC classes, since the code is exactly the same, and doesn't really belong in either.
This is a major change, so some testing is definitely required.
2019-12-26 17:28:55 -03:30
Stephen Anthony df4748417d A few more cleanups from clang-tidy. 2019-12-26 11:55:25 -03:30
Thomas Jentzsch 40f69bc4a8 add Draconian to properties 2019-12-26 09:53:21 +01:00
Stephen Anthony 4c8c08639a More fixes for warnings from clang-tidy.
Mostly converting C-style arrays to C++.
2019-12-25 20:40:01 -03:30
Stephen Anthony 9813173841 Activate properties from last commit. 2019-12-25 14:15:39 -03:30
Thomas Jentzsch 173560f788 Merge branch 'master' of https://github.com/stella-emu/stella 2019-12-25 17:49:46 +01:00