Commit Graph

3786 Commits

Author SHA1 Message Date
thrust26 fccee3e672 silence compiler 2019-12-19 18:34:21 +01:00
thrust26 b0efaa6830 adjust VS project 2019-12-19 18:14:16 +01:00
thrust26 2df61b542b Merge branch 'master' of https://github.com/stella-emu/stella 2019-12-19 18:13:50 +01:00
thrust26 b306f35d54 updated Super Soccer 2019-12-19 18:13:24 +01:00
Christian Speckner c324f1ce82 Safety belt. 2019-12-19 18:12:20 +01:00
Christian Speckner 84fe53c673 Adapt XCode project file. 2019-12-19 18:08:43 +01:00
Christian Speckner ec35026329 Ystart is sleeping with the fishes. 2019-12-19 18:01:54 +01:00
thrust26 356f06598d add hotkey for toggling interpolation (ctrl+i) 2019-12-18 20:38:52 +01:00
Stephen Anthony 8782a39ce7 Fix minor warning from clang. 2019-12-18 15:56:39 -03:30
thrust26 8a93e70cc9 reverted video dialog and settings changes 2019-12-18 19:55:58 +01:00
thrust26 7ae5b49633 small improvement on FC bankswitching 2019-12-18 19:12:04 +01:00
Stephen Anthony dbfc6ef3a5 Fixed minor issues reported by cppcheck. 2019-12-17 21:06:08 -03:30
Christian Speckner d0054b831d Precisely align scanlines with TIA scanlines. 2019-12-17 22:51:08 +01:00
Christian Speckner e5159ca59c Be ready for fractional scaling factors, performance improvements. 2019-12-17 21:31:08 +01:00
Christian Speckner 7b291db0d5 Native retina support. 2019-12-17 19:34:41 +01:00
Christian Speckner c38febc2c1 Update scaling in video dialog instead of framebuffer. 2019-12-17 17:16:37 +01:00
Christian Speckner d9effb80b8 Rename HqBlitter -> QisBlitter 2019-12-17 17:16:37 +01:00
Christian Speckner 032f0b0b7c Re-add filter setting to PNG metadata. 2019-12-17 17:16:37 +01:00
Christian Speckner 5977c8561a Connect tia.filter. 2019-12-17 17:16:37 +01:00
Stephen Anthony fd136e0d49 First pass at converting part of 'ystart' to 'vcenter'.
The logic here is somewhat convoluted.  I suggest renaming 'ystart' to 'startline',
and having it internal to TIA only.  The 'vcenter' option will then modify that value
from certain default constants (for NTSC and PAL).
2019-12-16 23:26:57 -03:30
thrust26 c2fc39f44d Reimplement y-start as "V-Center" in dialog and messages
Limit v-center range to +/-15 pixel
2019-12-16 12:41:39 +01:00
thrust26 980f5b92fa Fixed my merge chaos (sorry) 2019-12-16 09:47:56 +01:00
thrust26 8d321de90d reimplemented ystart (TODO: GameInfoDialog) 2019-12-16 09:03:42 +01:00
thrust26 0a4143768a removed redundant check
fixed superfluous ';' bug
2019-12-15 17:40:32 +01:00
thrust26 ebbfc258a6 improved logging and display of auto detected controllers and bankswitching types 2019-12-15 17:19:08 +01:00
Stephen Anthony b6122f136f More fixes for issues reported by cppcheck. 2019-12-15 12:32:49 -03:30
Stephen Anthony 12c1916200 Some fixes for issues found in cppcheck. 2019-12-15 11:23:14 -03:30
thrust26 a1d7315e08 added logging of available full screen modes 2019-12-15 10:28:14 +01:00
Christian Speckner b769638a35 Fix blitter reinitialization, always call Blitter::free on surface reload 2019-12-15 00:43:49 +01:00
thrust26 9aa027f4fd prepare VideoDialog for new filter mode 2019-12-14 21:48:23 +01:00
Christian Speckner 3aaeead676 Stab at fixing memory issues. 2019-12-14 10:04:36 +01:00
thrust26 7fc5be492a spelling :) 2019-12-14 08:47:52 +01:00
Stephen Anthony 112ed29e94 Properly handle 'Cart.StartBank' set to 'AUTO' in the ROM properties. 2019-12-13 20:21:20 -03:30
Stephen Anthony 666b13593c Revert what I thought was a minor change in properties handling.
I need to go over this a little more, since it's causing ROMs to crash.
2019-12-13 20:11:14 -03:30
Stephen Anthony d129ffc12a Use make_unique/make_shared to eliminate raw pointers. 2019-12-13 19:24:36 -03:30
Christian Speckner c4d1473f81 Get rid of smoothing in favor of scaling settings. 2019-12-13 22:46:31 +01:00
Stephen Anthony 31408864ee Updated VS project for QIS blitter class. 2019-12-13 17:34:23 -03:30
Christian Speckner 8ceeb0acbe Fix memory leak. 2019-12-13 21:47:30 +01:00
Christian Speckner ce993427d1 The gods made heavy metal... 2019-12-13 21:12:51 +01:00
Christian Speckner 4e444f7383 More sophisticated detection whether qis is supported. 2019-12-13 21:00:23 +01:00
Christian Speckner 59b5a5cc88 Merge fallout. 2019-12-10 23:23:46 +01:00
Christian Speckner 01d2bfa598 Update XCode project. 2019-12-10 23:23:46 +01:00
Christian Speckner a966295e9b Cleanup. 2019-12-10 23:23:46 +01:00
Christian Speckner 02dd24d45f Fall back to bilinear filtering if rendertargets are not supported. 2019-12-10 23:23:46 +01:00
thrust26 3b29476502 updated VS project file 2019-12-10 23:23:46 +01:00
Christian Speckner e3dc861932 Clear intermediate texture before blitting. 2019-12-10 23:23:46 +01:00
Christian Speckner f6eb86b9bb Add HQ blitter. 2019-12-10 23:23:46 +01:00
Christian Speckner 62af272020 Fix attributes -> blitter works. 2019-12-10 23:23:46 +01:00
Christian Speckner 1c798bd567 Factor out rendering / texture juggling from surface handling. Defuct. 2019-12-10 23:23:46 +01:00
Christian Speckner 3a90828892 Work around what looks like a bug in XCode 11.2 in -O0 and -O1. 2019-12-10 23:23:46 +01:00
Stephen Anthony 4ca430b6f9 Visual Studio doesn't support std::getenv, so we use Windows-specific
code.
2019-12-10 17:56:12 -03:30
Christian Speckner 1ac4f8e362 Comments. 2019-12-08 21:02:29 +01:00
Christian Speckner 15154eafaf Work around what looks like a bug in XCode 11.2 in -O0 and -O1. 2019-12-08 21:01:08 +01:00
Christian Speckner 81bc65bf56 Fix segfault. 2019-12-08 21:01:00 +01:00
Stephen Anthony ff7ac2de65 Added 'Mean Santa' ROM properties to the database. 2019-12-07 20:18:05 -03:30
Stephen Anthony cb63836716 Fix missing bounds checking, reported by Coverity.
This area of the code could also use some named constants, which are also used in DeveloperDialog.
2019-11-30 22:06:38 -03:30
Stephen Anthony 9c6bfb3251 Dead code elimination found by Coverity. 2019-11-30 17:24:19 -03:30
Stephen Anthony 8a0491f3d3 Fix coverity complaining about unrestricted use of getenv. 2019-11-29 18:06:43 -03:30
thrust26 7cc49b4ff1 updated event mapping screenshots and text
made green debug color for missile 1 a bit brighter (NTSC+PAL)
2019-11-24 08:44:24 +01:00
Stephen Anthony 025eeba38c Convert some raw arrays to std::array.
Some fixes for warnings from Coverity.
2019-11-14 20:12:45 -03:30
Stephen Anthony f08bc8843d libretro: Fix Linux/macOS builds. 2019-11-02 19:50:41 -02:30
thrust26 8fb8c6a451 improve FC detection and bank switching 2019-11-02 19:23:38 +01:00
Stephen Anthony 4deafc03f5 Updated xcode project for recent class additions. 2019-11-02 11:27:18 -02:30
Stephen Anthony e0f7051e5c Fix issues with VS project, minor warning from clang, and autoformat
code.
2019-11-02 11:03:15 -02:30
Stephen Anthony c198edbe51 libretro: Fix Windows build for recent class addition. 2019-11-02 10:53:57 -02:30
thrust26 12fffa1690 add missing files 2019-11-02 13:23:23 +01:00
thrust26 ed42374644 adds FC bankswitching for Amiga's Power Play Arcade cart #1 2019-11-02 12:23:03 +01:00
thrust26 bc191ecd46 display debugger cart type info disabled
align further options to cart type info
2019-11-02 11:57:50 +01:00
Stephen Anthony 6f1b0b0783 Fix segfault on shutdown in certain cases (mostly if OSystem creation failed). 2019-10-29 12:13:51 -02:30
Stephen Anthony 75bda25459 Updated master with 6.0.2 changelog. 2019-10-16 22:30:37 -02:30
thrust26 0dbd505b9b updated WD bankswitching (incl. detection) 2019-10-16 22:05:33 +02:00
Stephen Anthony eb2fdd71ba Updated properties database for imminent release of a highly anticipated prototype. 2019-10-11 12:30:06 -02:30
Stephen Anthony 4cd530e048 Fix typo. 2019-10-07 18:24:03 -02:30
Stephen Anthony 9593de911a Potentially fix compile errors for a few libretro ports.
I can't test this, so I don't know for sure if it fixes anything.
2019-09-27 22:58:07 -02:30
Stephen Anthony 91148d299a Eliminate conversion to pointer when it's not necessary. 2019-09-27 22:50:24 -02:30
Stephen Anthony ab9f060c04 One final fix for clang warning. 2019-09-24 10:36:32 -02:30
Stephen Anthony 8fa253d68e Fixed minor warnings in Windows. 2019-09-23 20:18:54 -02:30
Stephen Anthony f591ba92ce A few more std::array updates. 2019-09-22 20:42:46 -02:30
Stephen Anthony 700fbd9c91 Some more std::array and size_t updates. 2019-09-18 10:27:32 -02:30
Thomas Jentzsch b00a438608 replace some odd decimal numbers with hexadecimals 2019-09-17 09:38:47 +02:00
Stephen Anthony 0f0c86de41 Fixed remaining size_t vs. uInt32 issues in Windows. 2019-09-16 21:36:30 -02:30
Stephen Anthony 218969eb59 Changed uInt32 to size_t where necessary.
Finally decided to stop fighting C++, and just use size_t everywhere an
array is used.
Even though this is a 64-bit value, it seems that C++/STL expects it
when dealing with arrays, so I guess we will too.
2019-09-16 21:29:08 -02:30
Stephen Anthony 08fa405a06 Add missing include; hopefully fixes compile error. 2019-09-16 20:14:35 -02:30
Stephen Anthony 354d5aa35a Fixed gcc warnings wrt getBank virtual methods.
Converted many C-style arrays to C++ std::array.  In the process, cleaned up a lot of magic constants.

Replaced most C-style memset/memcpy operations with C++ equivalents: std::fill/std::copy.
std::copy in particular fixes a few potential bugs, since it operates on the datatype size,
and not just on raw bytes.
2019-09-16 19:46:15 -02:30
Stephen Anthony a1fa3a57ba Fixed minor warnings from clang. 2019-09-15 19:24:28 -02:30
thrust26 9a44366f85 add option to break on RAM writes to read ports 2019-09-15 17:04:25 +02:00
thrust26 4b0f255b8d more types for partial fix for issue #537 (RAM writes to read port) 2019-09-15 11:52:43 +02:00
thrust26 15426a31e0 fix for RAM writes to read port commit (offsets reversed) 2019-09-15 11:36:46 +02:00
Yoshi Sugawara bdaf55bb1c Libretro: support building using tvOS SDK 2019-09-14 10:09:58 -02:30
Thomas Jentzsch f0ddb8caa8 partial fix for issue #537 (RAM writes to read port) 2019-09-12 11:08:26 +02:00
thrust26 279e54378d some fixes for last commit 2019-09-07 14:36:13 +02:00
thrust26 d7c4b1a7b9 Add considering addresses for current bank. This is important for types where the 4K ROM address space is segmented into smaller slices, so there can be more than one bank at a time.
This addresses #536.
2019-09-07 14:29:33 +02:00
Christian Speckner ba3015a8f9 Fix MacOS build. 2019-09-04 15:54:17 +02:00
Thomas Jentzsch fe52f22720 fix left and right paddles defaults 2019-09-01 11:04:51 +02:00
Thomas Jentzsch 1d9a2366dc Revert "prevent menu navigation with analog input"
This reverts commit c30cd906a6.
(breaks editing mappings for analog devices)
2019-09-01 10:44:48 +02:00
Thomas Jentzsch c30cd906a6 prevent menu navigation with analog input 2019-09-01 09:50:04 +02:00
Thomas Jentzsch 628baef1d2 add 'breaklabel' command for 16 bit address breaks in all banks 2019-08-31 11:37:29 +02:00
Thomas Jentzsch 0048beaa89 add a quick fix for #532
fix comment for FE detection
2019-08-31 10:21:30 +02:00
Stephen Anthony 5f660383e5 Removed 'cfgdir', and have Distella config files placed with the ROM file they refer to.
Updated docs for removal of statedir, propsfile, etc.
Added 'basedir' and 'baseinappdir' to the docs.
Updated changelog for above changes.
2019-08-30 23:32:57 -02:30
Stephen Anthony 2215b2dee6 Add file/dir locations to logging. 2019-08-30 22:34:11 -02:30
Thomas Jentzsch 3112c4deb0 improve 'break' command output 2019-08-27 23:27:28 +02:00
Thomas Jentzsch 5dbb5b8957 return sorted list of breakpoints 2019-08-26 10:11:41 +02:00
Thomas Jentzsch d35aaa3252 refine 'break' command (using ff instead of -1, which indicates an invalid argument) 2019-08-26 09:44:30 +02:00
Thomas Jentzsch 2f8fa198d3 Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-24 14:12:32 +02:00
Thomas Jentzsch 696ae4ae3a forgot the new files, oops again! 2019-08-24 14:12:07 +02:00
Stephen Anthony 0c6e6602fc Fix build file for Linux. 2019-08-24 09:17:24 -02:30
Thomas Jentzsch bd3545bfff small fix `listbreaks` for single bank ROMs 2019-08-24 12:21:17 +02:00
Thomas Jentzsch 5042c4635f Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-24 12:00:04 +02:00
Thomas Jentzsch f4a0c38e59 reworked breakpoints to use hash map (and % $1fff addresses) 2019-08-24 11:59:31 +02:00
Stephen Anthony 2540d0d803 Entering an uppercase char (ie, hold Shift) on the first character in
file listings now selects among directories; use lowercase to select among
files (fixes #160).

Refactored relevant code from ListWidget to FileListWidget, where it more
properly belongs.

Updates to docs (new info, typo's, etc).
2019-08-23 22:08:06 -02:30
Thomas Jentzsch 7ee9573646 fixed some breakpoint issues regarding #512 2019-08-21 10:23:54 +02:00
Stephen Anthony 69d807a85b Update Xcode project for removed file. 2019-08-20 21:15:19 -02:30
Christian Speckner 09bd0f817e Take power-on state into account during autodetection. 2019-08-20 23:44:30 +02:00
Christian Speckner d105a833b6 Revert "pretty hacked and ugly fix for #501"
This reverts commit 0215cda991.
2019-08-20 23:44:19 +02:00
Stephen Anthony 49bf1ebaa9 Make launcher minimum size in UI match what is used in the actual code. 2019-08-20 13:21:41 -02:30
Thomas Jentzsch 9aecdf3873 improve breakpoint calculation, only consider low 13 bit for PC 2019-08-20 15:33:41 +02:00
Thomas Jentzsch 4232d964a3 add some more keypad keys support 2019-08-20 12:09:31 +02:00
Thomas Jentzsch b1f841cccc add commands from 'exec' script to prompt history 2019-08-20 10:27:42 +02:00
Thomas Jentzsch c3f379b45d make breakpoints consider banks (fixes #512) 2019-08-19 22:12:49 +02:00
Thomas Jentzsch 0215cda991 pretty hacked and ugly fix for #501 2019-08-19 09:33:21 +02:00
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
Thomas Jentzsch 8a9fec6a96 Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-18 23:11:17 +02:00
Thomas Jentzsch c2dbbca858 Ha, found a way to detect analog vs digital axis input 2019-08-18 23:10:51 +02:00
Christian Speckner 06f452e7bd Remove unecessary cwd logic. 2019-08-18 22:10:24 +02:00
Thomas Jentzsch 17f5180682 prevent simultaneous mapping of analog and digital events on the same axis (until we find a way to how to detect analog or digital input)
remove joystick events from Paddles, these can now be mapped separately
2019-08-18 22:09:48 +02:00
Thomas Jentzsch feb4a07bb2 minor updates to props 2019-08-18 21:00:13 +02:00
Thomas Jentzsch 91c38cc6c2 Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-18 20:33:45 +02:00
Thomas Jentzsch 18786cf997 updates some props 2019-08-18 20:33:26 +02:00
Aaron Kling 74959ba26c libretro: allow mingw cross compile 2019-08-18 15:23:22 -02:30
snes2600 3c49805be9 libretro: fix missing JoyMap class 2019-08-18 15:21:46 -02:30
Thomas Jentzsch 14ad7d95cf remove unused ConsoleOn/Off events 2019-08-18 18:19:16 +02:00
Thomas Jentzsch 3498004616 update props info (part 2) 2019-08-18 12:31:03 +02:00
Thomas Jentzsch b19ac8ee24 update props info 2019-08-18 11:01:36 +02:00
Thomas Jentzsch ecbc04f287 add minor mapping code enhancements 2019-08-18 09:59:16 +02:00
Stephen Anthony ad9b0e6e75 All functionality now restored to FileListWidget (pattern matching, ROMs only, etc).
This now uses a lambda function, which is more versatile.  Eventually we may even add regular expressions.
2019-08-17 21:13:15 -02:30
Christian Speckner 712cfbaeb1 Don't try to detect launch from finder. 2019-08-17 23:48:19 +02:00
Christian Speckner 89709b925e Fix MacOS build. 2019-08-17 22:46:47 +02:00
Stephen Anthony a8c1cd3730 Fixed selection of previous dir in FileListWidget.
I was going to have it remember descending directories too, but it's just too much fooling
around for a minor feature.  Maybe someone else can take a stab at it ...
2019-08-17 18:13:15 -02:30
Thomas Jentzsch 019f4ae247 Implement event filter in InputDialog (resolves #517) 2019-08-17 15:42:39 +02:00
Thomas Jentzsch 82c6b5544d change hat mapping display 2019-08-17 06:44:17 +02:00
Thomas Jentzsch 364137d20d minor fixes for KidVid, one can start the games with 8, 9, 0 now if right controller is KidVid 2019-08-16 20:53:18 +02:00
Thomas Jentzsch 6ea270cf8f enable KidVid controller option 2019-08-16 14:32:56 +02:00
Thomas Jentzsch 109e6c1065 disabled unreachable code 2019-08-16 11:07:16 +02:00
Thomas Jentzsch 48836e849e replace magic controller strings with enums
automatic detected controller update in GameInfoDialog & StellaSettingsDialog
2019-08-16 11:05:55 +02:00
Thomas Jentzsch d531d8e686 minor refactoring 2019-08-16 06:54:17 +02:00
Thomas Jentzsch af84fbccc5 allow changing controllers during emulation 2019-08-15 20:17:57 +02:00
Thomas Jentzsch e3c97c3725 improve JoyMap hashing 2019-08-15 14:52:43 +02:00
Stephen Anthony 22b4f36bbc Remove redundant variable. 2019-08-15 07:59:54 -02:30
Stephen Anthony cb5a4e210c Fix minor clang warnings. 2019-08-15 07:57:53 -02:30
Thomas Jentzsch 9f51b8caa0 rename some variables 2019-08-15 12:20:10 +02:00
Thomas Jentzsch b47234f776 convert int into JoyAxis/JoyDir 2019-08-15 11:53:15 +02:00
Thomas Jentzsch 80a5c5c6bf first pass on converting int into JoyAxis/JoyDir 2019-08-15 10:58:11 +02:00
Thomas Jentzsch 55d3c9106f made EventMode an enum class 2019-08-15 10:12:37 +02:00
Thomas Jentzsch b21a821ccc fix (partially) #494 (ToDo: Stelladaptor) 2019-08-15 09:32:01 +02:00
Stephen Anthony 0e341a2467 Fix compile warning for strncpy in Visual Studio.
Hopefully this will make Thomas happy :)
2019-08-14 18:10:56 -02:30
Stephen Anthony 359244c66d Fix opening ZIP files that don't contain any ROMs. 2019-08-14 15:05:21 -02:30
Stephen Anthony bd66449412 Working on FileListWidget, and keep forgetting to commit this bit. 2019-08-14 13:43:32 -02:30
Thomas Jentzsch 50cb562592 Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-14 17:26:02 +02:00
Thomas Jentzsch d731b71afb propagate 'repeated' to dialogs 2019-08-14 17:25:42 +02:00
Stephen Anthony 48e9e81747 Convert remaining Logger functions to new API: fixes #515. 2019-08-14 12:02:04 -02:30
Thomas Jentzsch 950068ba60 fix #513
support using ESC to exit debugger
2019-08-14 14:52:28 +02:00
Thomas Jentzsch f908679b7c oops 2019-08-14 12:11:32 +02:00
Thomas Jentzsch 05cecb95b9 refactored logging and removed magic numbers 2019-08-14 12:01:15 +02:00
Thomas Jentzsch a36e01ac71 remove some debugging output
refactored controller mapping loading
2019-08-14 09:47:34 +02:00
Stephen Anthony f7c70e46f5 libretro: fix minor compile warning. 2019-08-13 16:58:17 -02:30
Stephen Anthony a04a310944 Fixed minor compile warning. 2019-08-13 16:54:38 -02:30
Thomas Jentzsch c68e8f1c30 fix #393 by using one-shot breakpoints 2019-08-13 17:27:23 +02:00
Thomas Jentzsch c769d22b54 allow RomInfoWidget text to fill multiple lines 2019-08-13 14:38:40 +02:00
Thomas Jentzsch 654c843084 add long button press to launcher for power on options
note: currently this feels more like a hack
2019-08-13 14:06:27 +02:00
Thomas Jentzsch 3348495a55 fix some joystick mapping bugs
update R77 readme with button combos
2019-08-12 16:26:35 +02:00
Thomas Jentzsch e236b0ce95 rename paddle events
update input mapping doc
remove abbreviation from InputDialog tab
2019-08-12 11:09:00 +02:00
Thomas Jentzsch 28c3d126be make startup bank available in GameInfoDialog
add bankswitching type detection in GameInfoDialog when started from launcher
2019-08-12 09:22:36 +02:00
Stephen Anthony b99c7e1678 Fix minor compile warnings in gcc and clang. 2019-08-11 21:53:06 -02:30
Thomas Jentzsch 846a117a5e add start bank option to GameInfoDialog 2019-08-11 22:21:28 +02:00
Thomas Jentzsch b965842975 fix TiaInfoWidget display 2019-08-10 22:39:02 +02:00
Thomas Jentzsch 0b2ca6572a fix #511 2019-08-10 18:08:53 +02:00
Thomas Jentzsch 30f0b03e82 Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-10 17:46:16 +02:00
Thomas Jentzsch 1ecf55ffc0 make controller repeats configurable in UIDialog 2019-08-10 17:45:50 +02:00
Stephen Anthony bab08b2660 Fix minor clang warnings. 2019-08-10 09:48:57 -02:30
Thomas Jentzsch ce10108660 improve controller remapping
stop input repeats during remapping
2019-08-10 13:56:32 +02:00
Thomas Jentzsch 2c07c2918a change joystick mode mapping string delimiter 2019-08-10 11:30:35 +02:00
Thomas Jentzsch d60837e3d8 fix display of unmapped events in HelpDialog 2019-08-10 08:51:03 +02:00
Thomas Jentzsch 0b15163c8a change key mapping strategy: left and right modifier key are not considered separately except when pressed alone 2019-08-09 08:42:46 +02:00
Thomas Jentzsch 8c332f3bd6 Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-08 11:47:07 +02:00
Thomas Jentzsch 18d5045d8e improve mapping with modifier keys 2019-08-08 11:46:43 +02:00
Stephen Anthony a7c138c13d libretro: fix compile errors. 2019-08-07 14:54:11 -02:30
Thomas Jentzsch 7cd45ec32a add multi line string drawing (used in Input Dialog) 2019-08-07 15:17:19 +02:00
Stephen Anthony 0ab31bcec4 Fix minor compile warnings in clang. 2019-08-05 09:27:38 -02:30
Thomas Jentzsch 36cc239066 Merge remote-tracking branch 'remotes/origin/feature/controller-mapping' 2019-08-05 10:01:43 +02:00
Thomas Jentzsch 6943d1445f use ellipsis in non-editable EditTextWidget 2019-08-05 09:47:05 +02:00
Thomas Jentzsch 1e480796bc added some computer keypad keys to default mappings 2019-08-05 09:21:05 +02:00
Thomas Jentzsch 9f59b99525 enhanced keyboard detection for "Laser Keyboard" game 2019-08-04 12:25:33 +02:00
Stephen Anthony 4d75dcb462 libretro: Final fix for 32-bit framebuffer alignment issues (hopefully). 2019-08-03 19:22:33 -02:30
Thomas Jentzsch 0135c873a4 clear left 2 pixel 2019-08-03 16:06:22 +02:00
Thomas Jentzsch 6744d3a45a fix the unrolled phosphor code 2019-08-03 15:48:31 +02:00
Thomas Jentzsch cac9c634e8 fix #504 (please test with video effects and phosphor on and off) 2019-08-03 10:24:25 +02:00
Thomas Jentzsch 5dcc687f35 add mouse wheel zooming to TIA zoom widget in debugger
fix coordinates for handleMouseWheel()
2019-08-02 14:07:05 +02:00
thrust26 4294a2d8b8 experiments with mapping 2019-07-29 18:59:02 +02:00
Thomas Jentzsch eb9bca9a81 allow dragging debugger zoom widget with mouse 2019-07-29 13:40:43 +02:00
Thomas Jentzsch 47457664e2 Improve zooming 2019-07-28 19:55:36 +02:00
Thomas Jentzsch c53fb6ab00 implement left button zoom and extra options in zom window (#506) 2019-07-28 14:15:03 +02:00
Thomas Jentzsch db7def887d implement swapped hotspot option for UA (for Mickey) 2019-07-28 11:11:27 +02:00
Thomas Jentzsch bd39c0836f adapted UA bankswitching to new Brazilian carts (except Mickey) 2019-07-28 09:58:38 +02:00
Thomas Jentzsch 78cce1e50b fixed hotspot address 2019-07-28 08:19:24 +02:00
Thomas Jentzsch 8e177cf627 fix #507 2019-07-27 11:45:50 +02:00
Thomas Jentzsch 3eed4fa3a9 Merge branch 'master' of https://github.com/stella-emu/stella 2019-07-26 15:46:45 +02:00
Thomas Jentzsch 0112b89666 add load and save all states commands to debugger 2019-07-26 15:46:24 +02:00
Stephen Anthony 337b73ff01 Fix a few files that have Windows CR-LF endings. 2019-07-25 12:33:54 -02:30
Thomas Jentzsch d6e2c11275 fixed wording 2019-07-25 16:49:02 +02:00
Stephen Anthony dc7697a4d4 Fix old C-style casting.
There's a lot of code here that seems to change, but it's actually only one line.
I think newline differences are messing things up.
2019-07-25 10:14:57 -02:30
Thomas Jentzsch 61d9f26bc6 implement variable DPC pitch 2019-07-25 11:09:02 +02:00
Stephen Anthony 39feee8c0a Sometimes going up one directory didn't highlight the directory name. 2019-07-19 15:32:33 -02:30
Stephen Anthony 898f00dff0 Going upwards in file list now selects each previous directory.
Still TODO is determine if it's worth the effort to do the same when descending directories.

Finally getting back to development again.
2019-07-19 13:52:57 -02:30
softtwo daf4c0e715 libretro: fbo alignment 2019-07-04 18:07:40 -02:30
softtwo 502b8f3a3e libretro: load user palette 2019-06-30 21:24:15 -02:30
softtwo ffe63992fc libretro: writable save files 2019-06-30 21:24:04 -02:30
thrust26 b5ae1284ca fix several bugs 2019-06-30 11:43:36 +02:00
Stephen Anthony 8e425e7297 libretro: TV effects setting wasn't loading proper effect.
Note: raw ints are bad, enums are good.  Whenever Stella uses enums, libretro should use them too.
2019-06-29 23:35:10 -02:30
thrust26 ee47db85c1 remove SA specific events 2019-06-29 14:48:54 +02:00
thrust26 4334d00d6d refactor into mapping into single class
add paddle mappings
2019-06-23 20:22:10 +02:00
Stephen Anthony fe464c2521 Use smart pointer in Windows FSNode stuff. 2019-06-23 15:38:16 -02:30
Stephen Anthony e8ed2fa1dd Fix file selector with certain ZIP files not containing any ROMs. 2019-06-23 14:43:09 -02:30
thrust26 e4af4b8ff2 add controller dependent mappings 2019-06-23 14:42:04 +02:00
Stephen Anthony a04fbc8292 Fixed Xcode project for recent file selector changes. 2019-06-22 21:37:09 -02:30
Stephen Anthony 37908e8798 Fixed Windows build for latest file selector changes. 2019-06-22 21:25:40 -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 b2f285d723 fix button modifier mappings
Stelladaptor specific code removeDialog
code cleanup
2019-06-22 16:54:21 +02:00
thrust26 fbf05505d3 Merge branch 'master' of https://github.com/stella-emu/stella into feature/controller-mapping 2019-06-22 10:55:21 +02:00
thrust26 bb7bebb79f allow button as modifier for direction and hat
load/save controller mappings
2019-06-22 10:37:42 +02:00
thrust26 8210a25f40 implement rudimentary mapping 2019-06-21 21:11:52 +02:00
Stephen Anthony 786f3b2a49 First pass at converting LauncherDialog to use FileListWidget, similar to BrowserDialog.
- FileListWidget is a newer development, and LauncherDialog duplicates some (but not all) of its functionality
- Similarly, BrowserDialog has some functionality that LauncherDialog does not
- We will implement all required functionality in FileListWidget, and have both classes use it.

BrowserDialog is currently slightly broken; not all functionality is reimplemented yet.
2019-06-21 14:51:55 -02:30
thrust26 529c1fe7de refactor into two separate maps for stick and hats 2019-06-21 10:35:45 +02:00
thrust26 7176d291b3 initial changes 2019-06-20 14:13:59 +02:00
thrust26 d7e9c95fb0 eliminating some magic numbers in joystick handlers 2019-06-19 21:58:39 +02:00
thrust26 77c2824d4a Merge branch 'master' of https://github.com/stella-emu/stella 2019-06-17 21:05:48 +02:00
thrust26 b940aea542 fix #353 2019-06-17 21:05:31 +02:00
Stephen Anthony 84d44273d3 Minor refactor for PKeyboardHandler WRT 'Alt' functionality. 2019-06-17 11:58:37 -02:30
Stephen Anthony 4ae491dd6c Refactoring: remove obsolete 'myEvent' from PKeyboardHandler. 2019-06-16 17:47:52 -02:30
thrust26 168833e000 remove superfluous includes 2019-06-16 20:05:01 +02:00
thrust26 9ca49afeee Merge branch 'master' of https://github.com/stella-emu/stella 2019-06-16 19:52:29 +02:00
thrust26 c20035ccce refactor CompuMate key handling (uses events now too) 2019-06-16 19:52:14 +02:00
Stephen Anthony 5e6db1be0d Some UI code refactoring.
Since 'repeat' is now enabled below the UI level, we no longer need to track key presses.
2019-06-15 19:58:45 -02:30
thrust26 802b5a33bc make prompt tab initial tab in debugger
fix Dialog class for R77
2019-06-15 14:47:12 +02:00
thrust26 aef9decdfb fix #492 2019-06-15 13:10:02 +02:00
thrust26 b85bbbdcdc Merge branch 'master' of https://github.com/stella-emu/stella 2019-06-15 12:10:28 +02:00
thrust26 65cb17e736 refactor controller dependent mappings 2019-06-15 12:10:00 +02:00
Stephen Anthony af1703c24a Fix minor warnings from clang.
Minor formatting fixes.
2019-06-14 17:31:04 -02:30
thrust26 d969d9152b fix #490 2019-06-14 21:49:39 +02:00
thrust26 3b1be03f74 enable mapping start on double-click code 2019-06-14 20:03:58 +02:00
thrust26 03280abf7f improve hash function (~33% less collisions) 2019-06-14 17:49:30 +02:00
Thomas Jentzsch c43db6d85c fix broken VS project filter file 2019-06-14 09:32:34 +02:00
Thomas Jentzsch d09ccf4ad4 fix missing UI event display 2019-06-14 09:07:42 +02:00
thrust26 fca6348f7e align help wording to other code and doc 2019-06-13 21:45:37 +02:00
thrust26 73052e1351 HelpDialog display remapped keys 2019-06-13 21:39:03 +02:00
thrust26 219c4b0483 fix Event::VERSION (no reason for a change) 2019-06-13 00:01:37 +02:00
thrust26 43537c868b add autoslot event and default mapping
fix autoslot message
2019-06-12 23:58:44 +02:00
Stephen Anthony dfc1f852cf Fix invalid C++ code (use range-based FOR loop). 2019-06-12 13:10:02 -02:30
thrust26 a14d1c275d implement separate keyboard mappings for joystick, paddles and keyboard controllers
update doc accordingly
2019-06-12 16:48:41 +02:00
Stephen Anthony 2cfffd48fe Fix initialization error in DPC+ scheme (fixes #489). 2019-06-12 09:54:40 -02:30
Stephen Anthony 33c65103d6 File extensions used by BS autodetect can now use longer that 3-char extensions. 2019-06-11 14:35:01 -02:30
Stephen Anthony d9d2bffa7a Fix signed/unsigned warning in clang. 2019-06-11 13:37:55 -02:30
Stephen Anthony 9191f63da2 Fix dirty framebuffer issues in fullscreen TIA mode.
This requires some testing, since it potentially causes slowdowns on older systems.
I cannot find any difference on my test system (and documentation I've read seems to imply
that you should clear the screen before each update, and that it is very fast on most hardware).
2019-06-08 23:01:59 -02:30
Stephen Anthony 00dbf96acc PopupWidget/ContextMenu is now dynamic; one can add items after it is created. 2019-06-08 22:30:19 -02:30
funbars 2ed934d718 libretro: avoid windows lto crash 2019-06-08 18:59:06 -02:30
Stephen Anthony 4745b6a240 Make sure properties database is correctly read on startup (fixes #475). 2019-06-08 18:17:25 -02:30
Stephen Anthony 4a8f2f80b6 Fix PopupWidget/ContextMenu not positioned correctly in fullscreen mode.
Refactored Rect class.
2019-06-03 19:28:56 -02:30
thrust26 0eb7cd70da add option to automatically save states when exiting emulation 2019-06-03 21:55:40 +02:00
Stephen Anthony 58b8c3458b Fix UI drawing modes when overlaid on TIA image. 2019-06-03 17:09:07 -02:30
Stephen Anthony 01ae69786d libretro: fix build for obsolete method. 2019-06-03 16:09:45 -02:30
Stephen Anthony d7754aee77 Dialogs drawn outside the underlying basedialog area no longer leave parts around.
There is still some work TODO for TIA mode; that is coming next.
2019-06-03 14:32:59 -02:30
Stephen Anthony 6153b8aa6c Fix parsing of stella.pro => DefProps: joystick entries were being removed. 2019-06-02 17:08:30 -02:30
Stephen Anthony 46b79a3a2d Updated properties database. 2019-06-02 16:52:36 -02:30
thrust26 ce5a935d49 remove now superfluous "hardcoded" message in InputDialog 2019-06-02 18:45:53 +02:00
Stephen Anthony 4de5098373 Fix compiler warning. 2019-06-02 10:22:26 -02:30
thrust26 b1b1d87cfa enhance Rewind/UnwindPause events 2019-06-02 14:07:42 +02:00
thrust26 351aff6be6 handle debugger relevant keys which cannot be remapped first 2019-06-02 12:57:04 +02:00
thrust26 34e6709336 Enable switches handling in debugger 2019-06-02 12:32:25 +02:00
thrust26 972a74f76b fix #486 2019-06-02 12:15:13 +02:00
thrust26 b589645269 make emulation key mappings available in debugger 2019-06-02 11:41:37 +02:00
thrust26 c9b9d4912b fix #295 2019-06-02 10:34:46 +02:00
thrust26 cb6b9cff32 add overscan message
fix scanlines message
2019-06-02 09:32:26 +02:00
thrust26 cf39f5afdf add overscan hotkeys
remove ystart hotkeys
update doc
2019-06-02 09:21:20 +02:00
thrust26 d9a074dce0 several debugger buttons repeat 2019-06-02 00:21:49 +02:00
thrust26 fccfee04f8 wind buttons in TimeMachineDialog repeat 2019-06-02 00:15:27 +02:00
thrust26 311a8575a2 Merge branch 'master' of https://github.com/stella-emu/stella 2019-06-01 23:13:08 +02:00
thrust26 795c892549 prevent that repeated keys are going to emulation core 2019-06-01 23:12:50 +02:00
Stephen Anthony 0a1a0979fb Remove key repeat functionality from DialogContainer.
It is now provided by the backend (SDL) directly.
2019-06-01 18:41:38 -02:30
thrust26 dd88e3a7fe change scanlines hotkey delta to 2
fix scanline underflow
2019-06-01 22:38:16 +02:00
thrust26 288eb5b1e5 allow repeat for selected keyboard events 2019-06-01 22:29:18 +02:00
thrust26 1c5fa872c0 add 4th modifier key (windows/option) to allowed mappings 2019-06-01 19:05:33 +02:00
thrust26 a3350bca07 fix MacOS modifier naming, 2nd try 2019-06-01 00:36:11 +02:00
thrust26 f7c529d179 fix MacOS modifier naming 2019-06-01 00:33:19 +02:00
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