Commit Graph

4067 Commits

Author SHA1 Message Date
thrust26 89fd236c87 fix #623 (Rom info too large) 2020-04-29 09:23:55 +02:00
Stephen Anthony 8cd421ceaa Use getPathWithExt() method correctly. 2020-04-28 15:05:16 -02:30
Stephen Anthony c326d55836 Automaticall load a properties file with the same name as the ROM from the ROM directory.
Still TODO is support loading if the properties file is in a ZIP file.
2020-04-28 15:01:09 -02:30
Stephen Anthony 21b4bc36fa Synchronize 6.1.2 changelog to master. 2020-04-25 14:03:24 -02:30
thrust26 d4025e86da replaced "slice" with "bank" in many Cart(Widget) classes
minor UI fixed for CartDPCWidget
2020-04-24 12:42:52 +02:00
thrust26 4699a28af8 refactored CartDPC class
replaced DPC ROM
2020-04-24 11:20:01 +02:00
Stephen Anthony 930ed7893e Fixed error in ROM properties; a ROM was misconfigured for Mindlink controller. 2020-04-23 19:53:38 -02:30
Stephen Anthony becc72e3ea Fix loading of ROM twice on each selection in the ROM launcher.
It was being opened once for the snapshots, and again for the controllers.
2020-04-23 14:14:59 -02:30
thrust26 42c7f45c42 refactored Cart3EPlus widget 2020-04-23 12:34:27 +02:00
thrust26 2ae4631748 refactored CartMDM and CartSB widget classes 2020-04-23 10:46:09 +02:00
thrust26 a67ea71dca refactored Cart3EWidget (also supports 3EX)
added RAM bank support to CartEnhancedWidget
2020-04-22 19:58:40 +02:00
thrust26 579f73d1ea 3EX now reads number of RAM banks - 1 from 0xfffa 2020-04-22 12:50:26 +02:00
thrust26 4a6e14d306 add 3EX bankswitching type (addresses #619) (TODO: debugger details) 2020-04-22 10:08:36 +02:00
thrust26 2938ca2fc6 another final fix for #620 2020-04-22 08:25:35 +02:00
thrust26 f290f9ead1 2nd attempt to fix #620 2020-04-21 19:48:53 +02:00
thrust26 4400ba42c0 removed forgotten debug code 2020-04-21 17:25:03 +02:00
thrust26 1c8c7c68b5 fix checking for existing mapping when applying default mappings (fixes #620) 2020-04-21 17:22:50 +02:00
thrust26 7122741744 order KeyMap and JoyMap when saving 2020-04-21 17:22:50 +02:00
thrust26 e502be6048 fix checking for existing mapping when applying default mappings (fixes #620) 2020-04-21 17:21:08 +02:00
thrust26 db51de1bde order KeyMap and JoyMap when saving 2020-04-21 16:20:37 +02:00
thrust26 98d42cfd94 remove dynamic casting 2020-04-21 15:14:52 +02:00
thrust26 8e3e0479b1 renamed CartridgeEnhancedWidget class 2020-04-21 12:40:19 +02:00
thrust26 20c6998e71 refactored CartFA(2), CartFC and CartFE widget classes 2020-04-21 12:15:28 +02:00
thrust26 2e2471db68 refactored CartWDWidget and CartX07Widget
improved cart info formatting
2020-04-21 09:42:51 +02:00
thrust26 faaf83b4ab refactored CartDF(SC)Widget and CartEF(SC)Widget classes 2020-04-20 21:06:16 +02:00
thrust26 abeac8877e Improved 3E auto detection 2020-04-20 20:46:28 +02:00
thrust26 41cbec1f26 sort single file ZIP files correctly (fixes #612) 2020-04-20 12:49:11 +02:00
thrust26 9981b256c7 sort single file ZIP files correctly (fixes #612) 2020-04-20 12:45:05 +02:00
thrust26 bdb685644d added 'Turbo" mode 2020-04-19 23:23:11 +02:00
thrust26 8dd491ade9 some cleanup in CartCVWidget 2020-04-19 23:21:08 +02:00
thrust26 ddece5ed43 added 'Turbo" mode 2020-04-19 23:08:25 +02:00
thrust26 bfef7362c9 refactored Cart3F, CartCV and CartBF(SC) widgets 2020-04-19 18:59:07 +02:00
thrust26 9e466214ba improve bankswitching masking in CartEnhanced 2020-04-19 12:19:44 +02:00
thrust26 4aed2e454a fix display of changed PopUpWidget in debugger
allow using IDs with PopUpWidget's ContextMenu
2020-04-19 11:03:55 +02:00
thrust26 4c34a75332 renamed 'Exit' button in debugger into 'Run' (TODO: update screenshots) (fixes #614) 2020-04-19 10:45:22 +02:00
thrust26 098602ece8 fix #617 (3E RAM banks) 2020-04-19 10:31:00 +02:00
thrust26 70cdfe6c13 refactored multiple CartXXWidget classes 2020-04-19 10:23:27 +02:00
thrust26 c8d7937a46 fixed description background color in CartRamWidget 2020-04-18 19:22:08 +02:00
thrust26 7baa759ec9 fix display of changed PopUpWidget in debugger
allow using IDs with PopUpWidget's ContextMenu
2020-04-18 17:51:21 +02:00
thrust26 c0323c572c Merge branch 'refactor/cart' of https://github.com/stella-emu/stella into refactor/cart 2020-04-17 20:48:45 +02:00
thrust26 b57c2d05c2 enable directPokeBase for RAM banks in CartridgeEnhanced 2020-04-17 20:47:29 +02:00
Stephen Anthony 6836120a9a Fix clang compile warning. 2020-04-17 11:42:11 -02:30
thrust26 0bf12045d8 refactored CartWD
fixed CartEnhanced for multi-segment ROMs with extra RAM
improved CartEnhanced by enabling directPoke for extra RAM
2020-04-17 13:43:49 +02:00
Thomas Jentzsch 0851a445e5 small naming alignment between CartBUS and CartCDF 2020-04-16 18:54:29 +02:00
Stephen Anthony edab66de50 Fix compile error for UNIX builds. 2020-04-16 10:33:37 -02:30
thrust26 646f2a1daa fix some Clang-Tidy warnings
small bugfix for CartFA2
2020-04-16 09:40:15 +02:00
thrust26 9d12378cff removed DASH type (incl. doc update) 2020-04-15 21:15:44 +02:00
thrust26 a823fad32c refactored Cart3E+ 2020-04-15 20:59:06 +02:00
thrust26 00e67f1a51 add RAM bank support to CartEnhanced
refactor Cart3E
differentiate between ROM and RAM banks (TODO: check debugger)
2020-04-15 14:53:05 +02:00
Stephen Anthony 66bd5c49a6 Fix 'ovveride' warning from clang.
Convert 'template class' to the more modern 'template typename'.
2020-04-13 17:30:36 -02:30
thrust26 ca5b6a6fe7 removed CV+ type (incl. doc update) 2020-04-13 21:58:16 +02:00
thrust26 cf9c109681 Merge branch 'master' into refactor/cart 2020-04-13 19:35:52 +02:00
thrust26 c4bda8a09f Merge branch 'master' of https://github.com/stella-emu/stella 2020-04-13 19:34:49 +02:00
thrust26 79ea4c5a67 fix 3E disassembly (bankSize() override) 2020-04-13 19:34:34 +02:00
thrust26 56cbc4dc6f intermediate commit for refactoring 3E (something got broken in disassembly before) 2020-04-13 18:05:44 +02:00
Stephen Anthony 4f8ae57779 Fixed some warnings from clang.
Just checking on the progress; looking good so far.
2020-04-12 19:15:07 -02:30
thrust26 94cbae7a84 improve CartEnhanced to allow swapped RAM read/write ports
refactor CartCV
add more CV test ROMs
2020-04-12 11:35:41 +02:00
thrust26 ae774f891f remove superfluous code in Cart2K 2020-04-12 09:02:28 +02:00
thrust26 24ade13e93 refactor CartFA(2).cxx 2020-04-11 14:12:27 +02:00
thrust26 245adc721d refactor CartX07 2020-04-09 16:07:38 +02:00
thrust26 97ff37392d fix carts >= 64K 2020-04-08 22:02:01 +02:00
Stephen Anthony 85f0ae18c6 Fix 'saveconfig' not saving file correctly (fixes #602). 2020-04-08 11:59:02 -02:30
thrust26 edd9cd0147 refactor Cart2K and Cart4K(SC) 2020-04-07 08:24:06 +02:00
thrust26 53387c4b13 refactor CartSB 2020-04-06 09:42:13 +02:00
thrust26 4390a779af refactor CartMDM
make sure the banks are updated when stepping back
2020-04-06 09:21:32 +02:00
thrust26 b52251da6e Merge branch 'master' into refactor/cart 2020-04-05 22:30:20 +02:00
thrust26 d81f106a50 remove new default path button
replace with an UI option, which lets "romdir" automatically follow the launcher path
2020-04-05 21:30:38 +02:00
thrust26 0753972d47 add configurable driving controller sensitivity 2020-04-05 19:55:45 +02:00
thrust26 78fa1a71d2 one missing file 2020-04-04 23:05:09 +02:00
thrust26 ac4edcfc1e refactor Cart0840 2020-04-04 23:04:41 +02:00
thrust26 7d0c82825e Merge branch 'refactor/cart' of https://github.com/stella-emu/stella into refactor/cart 2020-04-04 18:29:37 +02:00
thrust26 27556405d8 add get current segment from cart for debug widgets 2020-04-04 18:29:05 +02:00
Stephen Anthony 81ac7cc569 Fixed compilation in Linux. 2020-04-04 13:39:38 -02:30
thrust26 f2d14f77c4 refactor Cart3F
improve CartEnhanced for segmented types
2020-04-04 17:28:30 +02:00
thrust26 f0234c105f allow changing default ROM path directly in launcher (resolves #610) 2020-04-04 11:25:02 +02:00
thrust26 05901a2ad8 add support for multi segment banking into CartEnhanced class
refactor more cart classes
2020-04-04 10:53:14 +02:00
thrust26 244fc3f7d3 initial commit 2020-04-03 17:08:42 +02:00
Stephen Anthony defeee600e A little more optimization to 3E scheme. 2020-04-02 20:44:13 -02:30
Christian Speckner 29fcc9644f 3E: improve debugger handling for writes to ROM space. 2020-04-02 21:18:56 +02:00
Christian Speckner b93a07dcfa 3E: fix invalid access on write to ROM. 2020-04-02 21:14:49 +02:00
thrust26 17835be278 fix M6532 access counters
make stack pops result into DATA access
2020-04-02 17:59:04 +02:00
thrust26 541a40c44b fix right diff action on Command menus 2020-04-02 16:26:56 +02:00
thrust26 e91bc140cd fix poke access counter offset
add a few more bank switching types
2020-04-02 12:03:35 +02:00
thrust26 a015cd9082 fix CartFE to update access flags and counters 2020-04-02 11:07:04 +02:00
thrust26 3f7db393ba add access counting to many more bankswitching types 2020-04-02 10:38:15 +02:00
Stephen Anthony 7a03f330f0 Fix minor warning with clang (possible dangling else). 2020-04-01 20:36:43 -02:30
thrust26 3d7ff6638e Merge branch 'master' of https://github.com/stella-emu/stella 2020-04-01 22:14:36 +02:00
thrust26 8b550a3a11 differentiate ROM read/write access (done for Atari standard and 3E bankswitching) 2020-04-01 22:14:22 +02:00
Stephen Anthony 1b1ccf4f39 Fix warnings from clang. 2020-04-01 09:45:19 -02:30
thrust26 96131e2f7f first shot at #586 (Heat Map) (TODO: differentiate cartridge read/write access)
add Cartridge::bankSize method (TODO: varying bank sizes)
add Cartridge::bankOrigin detection method (TODO: banks smaller 4K)
2020-04-01 11:06:03 +02:00
Stephen Anthony a6ac378554 Synchronize wil upcoming 6.1.1 release. 2020-03-31 18:25:25 -02:30
thrust26 16a5bb2d1d fix non-VS warning 2020-03-31 18:40:48 +02:00
thrust26 2de1e70941 fix last commit 2020-03-31 18:35:51 +02:00
thrust26 cae2266df0 Enhance disassembly (determine correct bank offset, preliminary solution for simple 4K bankswitching, e.g. standard Atari) 2020-03-31 18:12:38 +02:00
Christian Speckner 4d99bca2cd Fix snapshots on retina displays. 2020-03-31 00:46:20 +02:00
thrust26 6e5a162a18 enhance debugger disassemblies, 'savedis' now allows multi-bank ROMs 2020-03-30 23:01:15 +02:00
thrust26 45758ad5b5 some progress with multi-bank games disassembly (it now works, but still requires a bit of manual action before) 2020-03-30 12:20:59 +02:00
thrust26 f48a96356f fix color value disassembly
add ORG/RORG for multi-bank ROM disassembly
2020-03-30 09:52:56 +02:00
thrust26 d2fbbdbf61 rename code access into ROM access to better reflect the usage 2020-03-30 09:22:45 +02:00
thrust26 195a8a5116 fix compiler error without debugger support
create VS configuration (without debugger support)
2020-03-29 19:30:09 +02:00
thrust26 5600be0ce4 add some more DEBUGGER_SUPPORT defines 2020-03-29 18:36:26 +02:00
thrust26 c2a8839b1a fix CPU destination display 2020-03-29 18:05:07 +02:00
thrust26 4fabd94dd3 fix savedis output 2020-03-29 17:24:16 +02:00
thrust26 cf25b18867 fix DiStella configuration output 2020-03-29 13:02:58 +02:00
thrust26 1beaf64edd update debugger docs
add missing debugger commands for enhanced DiStella data detection
2020-03-29 12:30:26 +02:00
thrust26 09fb69f397 add detection of audio data in DiStella (see #596) 2020-03-29 10:51:16 +02:00
Stephen Anthony c09b6167a1 libretro: Fix core on Debian Buster (fixes #598) 2020-03-28 12:03:23 -02:30
thrust26 4cddd6bf25 Merge branch 'master' of https://github.com/stella-emu/stella 2020-03-28 09:35:37 +01:00
thrust26 7f4a712d8e replace some magic numbers in Distella 2020-03-28 09:35:27 +01:00
Stephen Anthony d6d0b4d944 And we start again ... 2020-03-27 20:52:15 -02:30
thrust26 d61c68c05a refactored access flags used for disassembly 2020-03-27 09:03:06 +01:00
thrust26 3fa6ede03c use defined type for disassembly flags 2020-03-26 23:26:18 +01:00
thrust26 474ba22e5e Merge branch 'master' of https://github.com/stella-emu/stella 2020-03-26 22:23:06 +01:00
thrust26 d01aa94161 add detection of color data in DiStella (see #596) 2020-03-26 22:22:52 +01:00
Stephen Anthony b6717a4b9a Fix some minor warnings from Clang. 2020-03-26 12:30:33 -02:30
thrust26 193e8a1a46 display write destination address in debugger (implements #74) 2020-03-26 13:48:46 +01:00
thrust26 6741cb4ef9 split X and Y center of paddles
add definition of paddles centers via game properties
2020-03-25 19:28:39 +01:00
thrust26 48f87ffa54 fixes #595 (debugger BK color) 2020-03-25 12:00:41 +01:00
thrust26 4ad59781d8 First shot at configurable paddle input (#522) 2020-03-25 09:32:12 +01:00
thrust26 b5ac004b01 improve alignment of some sliders and labels in InputDialog 2020-03-24 17:02:27 +01:00
thrust26 f88a932d1e fixed #537 (writes to read ports) 2020-03-24 12:02:51 +01:00
Stephen Anthony a3b536c94d libretro: Pass the filename to the underlying emulation, since we can detect things based on what it contains. 2020-03-21 18:35:12 -02:30
Stephen Anthony 4d248c97df (Semi) Final update for 6.1 release. I'm sure there's something we've missed. 2020-03-21 17:18:05 -02:30
Christian Speckner 6739ada4f2 R77: use QIS for scanlines w/o TV effects. 2020-03-19 22:48:36 +00:00
Stephen Anthony 9ab2c435e5 Add fonts to Visual Studio project file. 2020-03-19 11:02:53 -02:30
thrust26 bf3b90cbd8 StellaSettingsDialog sizes fine tuning 2020-03-16 09:58:06 +01:00
thrust26 b0af3891fe larger infoFont for minimal UI dialogs 2020-03-16 09:26:45 +01:00
thrust26 96f2d55133 StellaSettingsDialog font parameter cleanup 2020-03-16 09:04:35 +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 725225934a Fix 'ROM Audit' mode not getting current active directory. 2020-03-15 19:14:57 -02:30
Stephen Anthony 336b72b2de Fix a few compile warnings in Xcode, and add missing files. 2020-03-15 18:11:52 -02:30
thrust26 070489362c use R77 screen size as maximum for StellaSettingsDialog 2020-03-15 19:54:45 +01:00
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
Stephen Anthony 1d1460924a Fixed minor compile warnings, including incorrect output from convbdf tool. 2020-03-15 14:02:52 -02:30
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 6b59190582 Revert "add one more intermediate font option to ROM info viewer"
This reverts commit 2646934596.

Now the correct file. :)
2020-03-14 23:37:18 +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
thrust26 4b66fc08f1 refine ROM viewer font size calculation
define zoom factor for R77
2020-03-14 09:55:58 +01:00
thrust26 506bb0bd06 aligned ROM viewer's UI default to Settings.cxx default 2020-03-12 17:11:50 +01:00
thrust26 0385611719 UI now allows to select ROM info width as 0..100%
(the actual limits and ROM info fonts are determined when the launcher is created)
2020-03-12 17:01:45 +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
Christian Speckner 456c05a0ee Update TIA surface settings after making changes in the mini settings. 2020-03-06 00:22:50 +01:00
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
thrust26 6cd0a7b053 add Overscan info text to R77 settings 2020-02-29 15:25:28 +01:00
thrust26 2cfc9963d9 add a bit more R77 help 2020-02-29 10:55:50 +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 e9698aea86 fix part 1 of #583 2020-02-20 08:48:14 +01:00
thrust26 d661eedf7b fix #582 2020-02-20 08:28:18 +01:00
Stephen Anthony 155147ccd3 Take titlebar into account when calculating max desktop window size
(fixes #577).
2020-02-16 19:29:25 -03:30
thrust26 79940c14ca fix overscan issue (fixes #576) 2020-02-13 20:56:56 +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 46e103970c Use 'const' instead of 'constexpr' when generating properties file. 2020-02-09 16:42:50 -03:30
thrust26 b172dfbdf3 Merge branch 'master' of https://github.com/stella-emu/stella 2020-02-08 11:16:32 +01:00
thrust26 47fa6eb8bb change zero value for phosphor into "0" (not "Off") 2020-02-08 11:16:21 +01:00
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
thrust26 a937b8fea8 Merge branch 'master' of https://github.com/stella-emu/stella 2020-02-06 18:46:10 +01:00
thrust26 76352a63a9 fix #571 (TimeMachine UI hotkey) 2020-02-06 18:45:59 +01:00
Stephen Anthony 6120142c97 Make search for format in ROM filename case-insensitive. 2020-02-05 18:37:08 -03:30
Thomas Jentzsch 16e1f256c2 fix CartMDMWidget (disable bank selection popup when locked) 2020-02-04 16:30:05 +01:00
Thomas Jentzsch d0772ecc86 fix CartMDM serializing 2020-02-04 16:02:36 +01:00
thrust26 27aa4a9204 minor debugger fix 2020-02-03 20:47:49 +01:00
Stephen Anthony 33c118f403 Make compiler happy. 2020-02-03 12:55:46 -03:30
thrust26 2f144349fb add total and delta cycle counter (resolves #565)
make VSync and VBlank editable
2020-02-03 13:09:19 +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
thrust26 4b1601e114 reversed controller button reaction (now on UP), fixes #567
prevent button read for up after long press
2020-02-02 16:05:24 +01:00
Stephen Anthony 00451d44ac Updated Windows build script. 2020-02-02 11:01:23 -03:30
thrust26 6a436c25bd fix #566 (fry button) 2020-02-02 11:54:00 +01:00
Stephen Anthony 9250059086 Update Xcode project for missing files. 2020-02-01 22:30:26 -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 2670b2c548 Bumped version to rc1. 2020-01-28 14:21:30 -03:30
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
thrust26 659c603878 fix #563 (double mapping) 2020-01-26 19:58:29 +01:00
thrust26 665e54747a block power-on options dialog when not a valid ROM is selected 2020-01-26 08:53:27 +01:00
Stephen Anthony 380c28c94e Make selecting the previous directory by shortcut and clicking "[..]" follow the same code path.
This allows selection of previous selected item to work correctly.
2020-01-25 20:24:23 -03:30
Stephen Anthony 499517976f Fix issue #562. 2020-01-25 20:13:20 -03:30
thrust26 275f2ab444 fix duplicate usage of button 2 2020-01-25 23:33:05 +01:00
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
Christian Speckner ce522f80a0 Double buffer source texture, optimize intermediate blitting. 2020-01-25 19:55:12 +00:00
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
Stephen Anthony c1781e5492 Fix crash in Stack::reverse when size is less than 2. 2020-01-23 20:45:59 -03:30
Stephen Anthony 1fc3c62a91 Restore 'lastrom' functionality; partially broken in a previous refactoring. 2020-01-22 13:53:17 -03:30
Stephen Anthony 69967fc598 Bumped state version for changes to FrameManager. 2020-01-21 21:25:14 -03:30
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
thrust26 0e44e9ce67 Merge branch 'master' of https://github.com/stella-emu/stella 2020-01-21 21:08:17 +01:00
thrust26 12b2a4e3c4 Update TM doc 2020-01-21 21:08:01 +01:00
Stephen Anthony 702b620041 Make debugging bankswitch selection easier. 2020-01-21 12:20:48 -03:30
thrust26 b888d6c029 fix exiting game in MinUICommandDialog 2020-01-20 19:05:43 +01:00
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 59d0c7fbda oops 2020-01-19 21:29:51 +01:00
thrust26 5f28428ebd adapt exit popup changes for other platforms 2020-01-19 21:27:09 +01:00
thrust26 6c2cbf3fac add missing files 2020-01-19 20:59:49 +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
thrust26 34661af1aa update docs for VideoDialog 2020-01-17 18:46:40 +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 6c691c91b8 VideoDialog: don't crash if Console is not allocated. 2020-01-13 20:47:50 +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 4f9d554a5f aligned SliderWidget parameter default to other defaults 2020-01-11 13:02:51 +01:00
thrust26 a97cf0ba89 add force sign option to SliderWidget 2020-01-11 11:59:09 +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
Stephen Anthony 1667d4df60 Bump state version number, otherwise we get crashes on older state saves. 2020-01-07 18:12:36 -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
twinaphex 58bf9d57b6 (Libretro/MSVC 2017) Buildfix 2020-01-07 09:46:52 -03:30
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
thrust26 bbac4a3034 make minor update to VS project file 2020-01-05 23:52:37 +01:00
thrust26 22dcb59510 reorganize paths for windows code generation 2020-01-05 23:35:42 +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 1fcd5eed40 Fix typo causing a crash. 2019-12-31 13:58:01 -03:30
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
thrust26 1dcd960b8d add Lightgun class to Libretro Stella.vcxproj 2019-12-31 11:18:05 +01:00
thrust26 b364a4224f add Lightgun class to Libretto Makefile.common 2019-12-31 11:15:13 +01:00
Thomas Jentzsch e3ef2ee31c replace magic number for Lightgun 2019-12-31 00:25:24 +01:00
Stephen Anthony ef45cc5037 Added Lightgun class to Xcode project. 2019-12-30 19:00:49 -03:30
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 767f952e4e A few cleanups missed in the previous commits. 2019-12-29 21:08:50 -03:30
Stephen Anthony 733db7250a Fix typo that caused entering the debugger to crash. 2019-12-29 20:22:05 -03:30
Stephen Anthony 3e3b9b3d50 Final updates for default initialization.
The debugger is crashing, so now the debugging begins :)
2019-12-29 20:12:37 -03:30
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 0a9b289b44 libretro: Fix bug with using defaulted vs. user-defined c'tor.
I think this is a compiler issue with that build environment, since this is legal C++11 code.
2019-12-29 10:02:54 -03:30
thrust26 d0d17b4ded fix hat mapping (see #552) 2019-12-29 10:51:00 +01:00
Stephen Anthony bc75a2ee83 Fix size_t issue. 2019-12-28 22:44:26 -03:30
Stephen Anthony 0c6f8bf381 More default initialization updates. 2019-12-28 22:36:40 -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 04fe64568a Use runtime_error exceptions everywhere in ZipHandler. 2019-12-28 19:01:39 -03:30
Stephen Anthony ca1207344c Convert PNGLibrary to use vector instead of raw pointers.
This is just as efficient, but also safer.
2019-12-28 17:44:50 -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 682a35bf72 libretro: Fix fallout from latest changes. 2019-12-28 00:50:05 -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 f9b3d0198a Updated Xcode project for addition of PhosphorHandler class. 2019-12-26 20:47:01 -03:30
Stephen Anthony b07d8870ae libretro: Updated VS project file for class addition. 2019-12-26 20:39:53 -03:30
Stephen Anthony 96693222c7 Updated Visual Studio for addition of PhosphorHandler class. 2019-12-26 20:37:45 -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 bf3f146076 libretro: Fix error with user-defined vs. default c'tor. 2019-12-26 17:53:26 -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 a061356202 Fix potential divide by zero. 2019-12-25 21:49:07 -03:30
Stephen Anthony b6fc984690 Fix size_t vs int issue. 2019-12-25 20:53:21 -03:30
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 e09634cb56 First pass at converting Blarrg code to proper C++. This mostly involves getting rid of macros. 2019-12-25 20:39:04 -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
Thomas Jentzsch 0c0c311e84 update properties for HES dual games. 2019-12-25 17:49:18 +01:00