Commit Graph

5671 Commits

Author SHA1 Message Date
Stephen Anthony 7676e9b4c8 Some fixes for warnings from cppcheck. 2023-02-18 15:33:28 -03:30
Thomas Jentzsch 0ac532519f fixed right controller detection for Maze Craze 2023-02-16 19:20:16 +01:00
Thomas Jentzsch e9ec5a09d3 enhanced PlusROM dialog to show device id 2023-02-08 09:50:36 +01:00
Stephen Anthony bbbaced452 Fix minor spelling mistake; there are no castrated goats here :) 2023-01-29 12:17:48 -03:30
Thomas Jentzsch 433d8da8a2 added "code in RAM" execution check for F4SC, F6SC and F8SC (addresses #933) 2023-01-29 12:55:03 +01:00
Thomas Jentzsch 5f1f90260c minor fix for unwind/rewind display string 2023-01-29 10:01:38 +01:00
Stephen Anthony b71573f1f6 Fix missing const caught by clang-tidy. 2023-01-28 19:22:31 -03:30
Thomas Jentzsch bc0dce8487 added two missing debugger save states 2023-01-28 10:22:07 +01:00
Stephen Anthony 07e0d35339 A few items I forgot in the last commit. 2023-01-26 17:04:05 -03:30
Stephen Anthony f72aff57a9 Further optimization to FSNodeWINDOWS; eliminate function call. 2023-01-26 16:44:16 -03:30
Thomas Jentzsch a4c5e57454 fixed jittering driving controller when using keyboard 2023-01-25 17:02:48 +01:00
Thomas Jentzsch 9d46bb614f re-enabled mouse and Stelladaptor input for Driving Controller (fixes #951) 2023-01-18 17:01:21 +01:00
Thomas Jentzsch dd5b16f997 Another attempt to fix #931 in a good way. 2023-01-17 23:04:52 +01:00
Thomas Jentzsch acbdaed7f3 Merge branch 'master' of https://github.com/stella-emu/stella 2023-01-17 16:29:23 +01:00
Thomas Jentzsch 951e74580b stop disassembling at areas marked as ROW (fixes #931) 2023-01-17 16:29:11 +01:00
Stephen Anthony d05957510a Small optimization; don't unnecessarily clear buffers. 2023-01-08 21:52:24 -03:30
Stephen Anthony 6ba428ff37 Fix Xcode project after recent refactoring. 2023-01-06 11:38:34 -03:30
Thomas Jentzsch 265a090cc1 improved driving controller responsiveness to digital input 2023-01-06 00:43:38 +01:00
Thomas Jentzsch cb4f3b4965 fixed saving driving controller mappings 2023-01-05 22:21:15 +01:00
Thomas Jentzsch e69c8f447c fixed Joy2B+ code for libretro 2023-01-05 08:37:48 +01:00
hunterk e14af76eb5
add Joy2B+ support to libretro (#950)
fixes #949 and returns input to Elevator Agent game
2023-01-05 08:33:14 +01:00
Stephen Anthony 8ded49c33a Fix compile error in clang-16; large number of constexpr string_view causes compile error. 2022-12-30 21:17:02 -03:30
Stephen Anthony 498af52ca2 Updated httplib, libpng and sqlite libs to latest releases. 2022-12-30 19:56:45 -03:30
Stephen Anthony 3458da8445 Remove FIXME for string_view conversion. 2022-12-30 18:34:12 -03:30
Stephen Anthony 89fb53a510 Minor string optimizations. 2022-12-30 18:00:37 -03:30
Stephen Anthony 9cc804d0e0 Updated files to 2023; an early Happy New Year to anyone reading this logs. 2022-12-30 14:11:04 -03:30
Stephen Anthony 72fe8ebebe Minor formatting fixes. 2022-12-29 20:03:24 -03:30
Stephen Anthony 226cc3c3c7 Another string_view conversion. 2022-12-29 15:22:38 -03:30
Stephen Anthony b09e6cb71c Convert MD5 functionality to proper C++17 class. 2022-12-29 12:25:39 -03:30
Stephen Anthony a15b56aa1e Various fixes for suggestions from clang-16. 2022-12-29 10:19:14 -03:30
Stephen Anthony 204aafa927 Remove std::stoi completely; reimplement with std::from_chars and string_view. 2022-12-28 20:57:31 -03:30
Thomas Jentzsch e150a3dd58 Merge branch 'master' of https://github.com/stella-emu/stella 2022-12-28 14:12:42 +01:00
Thomas Jentzsch 999e13b4d3 Added images processing files (Windows only) 2022-12-28 14:12:23 +01:00
Thomas Jentzsch ce46240aa7 added some more high score properties (resolves #929) 2022-12-25 10:07:51 +01:00
Stephen Anthony 027efc5979 Consolidate and refactor some code (mostly string conversions). 2022-12-24 16:42:08 -03:30
Stephen Anthony da0b491429 Fix potential crash on empty string. 2022-12-24 13:21:13 -03:30
Stephen Anthony 1657538b87 More conversions to string_view. 2022-12-23 20:01:24 -03:30
Thomas Jentzsch 0ad87a048f reworked RiotWidget 2022-12-22 14:25:05 +01:00
Stephen Anthony 313f7dd914 And a few more string_view conversions. 2022-12-21 20:36:35 -03:30
Stephen Anthony ff0bbf525f Yet more conversion of 'const char*' to string_view. 2022-12-21 20:20:30 -03:30
Stephen Anthony 1fa2e98988 More conversion of 'const char*' to string_view. 2022-12-21 19:24:37 -03:30
Thomas Jentzsch 60346c78cf reworked TIAWidget 2022-12-21 18:59:12 +01:00
Stephen Anthony 0b812334f3 Eliminate redundant checks for empty strings. 2022-12-21 12:25:40 -03:30
Stephen Anthony aaaea54310 Improve Bankswitch class efficiency by using string_view. 2022-12-20 22:16:11 -03:30
Thomas Jentzsch 82da36dd68 fixed two bugs regarding Joy2B+ controller 2022-12-20 11:07:53 +01:00
Stephen Anthony 54993268c7 Yet more conversion of 'const string&' to 'string_view'. 2022-12-19 19:33:19 -03:30
Stephen Anthony d4f1509def More conversion of 'const string&' to 'string_view'. 2022-12-19 17:21:36 -03:30
Thomas Jentzsch adbedfbbcf enhanced missile state display in debugger
updated 3E+ comments
2022-12-19 11:38:43 +01:00
Stephen Anthony f7e6e61d8a Default to using system-wide libsqlite3 on Linux/UNIX systems.
Fix for slow exit from app in this mode is now fixed.
2022-12-18 21:18:56 -03:30
Thomas Jentzsch d1073fc51f fixed messages lost when changing state with auto pause enabled (fixes #944) 2022-12-17 11:03:48 +01:00
Stephen Anthony 31cc0884db Convert 'const string&' to 'string_view', as per C++17 recommendations. WIP. 2022-12-16 19:15:30 -03:30
Thomas Jentzsch e1ef0045ac minor UI update to Power-on options dialog 2022-12-16 09:07:18 +01:00
Thomas Jentzsch 47a6b1de32 3e+ comments fixed 2022-12-14 18:15:27 +01:00
Stephen Anthony e8543ba075 Restrict RAM searching to hex values only. 2022-12-11 15:50:40 -03:30
Thomas Jentzsch 43a67ef224 added middle mouse button support (emulates double click) 2022-12-06 19:21:07 +01:00
Stephen Anthony dcc3eebab1 Updated zlib to latest version (1.2.13). 2022-12-04 20:42:14 -03:30
Stephen Anthony b17a2e63b2 Some refactoring in ZipHandler. Debugging code present for now. 2022-12-04 18:38:43 -03:30
Thomas Jentzsch 62a3a9275c fixed multi segment cart disassembly 2022-12-04 18:15:11 +01:00
Thomas Jentzsch 67ee544435 slightly optimized Thumb emulation for R77 2022-12-03 00:38:31 +01:00
Thomas Jentzsch d62f6a3380 and some more (forgot to save) 2022-12-02 19:52:03 +01:00
Thomas Jentzsch ccc4b6c832 some code cleanup 2022-12-02 19:51:24 +01:00
Stephen Anthony 6399147174 Disable warning for deadcode in Thumbulator. 2022-12-02 12:20:36 -03:30
Thomas Jentzsch 06e8e606e3 added Release PGO x64 build configuration for VS 2022-12-02 10:42:21 +01:00
Stephen Anthony e4d8072503 Convert more defines to static constexpr, take 2. 2022-12-01 19:13:44 -03:30
Stephen Anthony 61d6d89a21 Revert "Convert more defines to static constexpr."
This reverts commit 58382db331.

Mistakenly checked in debug code for another part of the codebase.
2022-12-01 19:08:27 -03:30
Stephen Anthony 58382db331 Convert more defines to static constexpr. 2022-12-01 19:04:01 -03:30
Stephen Anthony a37c76071a Fix missing braces on switch/case block. 2022-12-01 18:46:53 -03:30
Stephen Anthony 679a0318f9 Convert defines to static constexpr. 2022-12-01 18:31:31 -03:30
Stephen Anthony f9edb95a6e Implemented suggestions from clang-tidy-16 (mostly emplace vs. push_back). 2022-12-01 15:39:21 -03:30
Thomas Jentzsch b1f100147f added a few more FORCE_INLINE and inline hints 2022-11-30 09:33:04 +01:00
Thomas Jentzsch 50d2155d1b next try 2022-11-29 16:44:47 +01:00
Thomas Jentzsch 29225e2d93 Revert "improved inlining in VS (I hope this doesn't break the code again)"
This reverts commit 8c253f2cc4.
2022-11-29 16:10:43 +01:00
Thomas Jentzsch 8c253f2cc4 improved inlining in VS (I hope this doesn't break the code again) 2022-11-29 14:07:51 +01:00
Christian Speckner 9aa40fb150 Fix build. 2022-11-29 12:18:38 +01:00
Thomas Jentzsch f5bcf94592 trying to fix build errors 2022-11-29 11:12:08 +01:00
Thomas Jentzsch 025de6e8e9 accelerated emulation by using forced inlines 2022-11-29 10:53:31 +01:00
Thomas Jentzsch 38e8121b10 added global FORCE_INLINE macro
used FORCE_INLINE macro in Thumbulator
2022-11-29 09:23:39 +01:00
Thomas Jentzsch 866ee840de optimized thumb flags handling 2022-11-28 22:12:48 +01:00
Thomas Jentzsch 96d5a3ff5b optimized thumb branch instructions 2022-11-27 13:10:02 +01:00
Thomas Jentzsch bb1b0ab953 fixed 7800 pause button 2022-11-23 22:29:43 +01:00
Stephen Anthony cafc3572c3 Updates to Xcode project for Xcode 14. 2022-11-23 15:27:11 -03:30
Stephen Anthony fa49e03410 Updated to latest sqlite3 release. 2022-11-20 15:31:26 -03:30
Stephen Anthony 9ddacb45a9 Fix typo. 2022-11-17 15:36:35 -03:30
Stephen Anthony d1767d4d93 More 'const char* const' fixes. 2022-11-13 12:31:36 -03:30
Stephen Anthony 788c836130 Minor fixes to FSNodePOSIX. 2022-11-12 21:44:50 -03:30
Stephen Anthony 25c882b4bd Use already calculated file size, and cache for later use. 2022-11-11 20:26:14 -03:30
Stephen Anthony c9e10fdc6e Stop WAV playing when exiting a KidVid ROM and starting a non-KidVid one. 2022-11-03 21:42:14 -02:30
Stephen Anthony 2c4b98ef7a Yet more cleanups in FSNodeWINDOWS. 2022-10-29 16:12:39 -02:30
Thomas Jentzsch 6cbb06b10a added VSYNC warning to console info overlay in developer mode 2022-10-20 12:48:51 +02:00
Stephen Anthony 7a8845548d Speed up file/directory access in Windows by 3-4x. 2022-10-18 17:21:13 -02:30
Stephen Anthony 7193c40532 More cleanups to FSNodeWINDOWS. 2022-10-15 19:54:51 -02:30
Stephen Anthony 6e46d46ffa More cleanups to FSNodeWINDOWS. 2022-10-12 18:45:24 -02:30
Thomas Jentzsch e63975847f fixed build test 2022-10-12 22:21:10 +02:00
Thomas Jentzsch d38831bbb2 failed build test 2022-10-12 22:03:48 +02:00
Stephen Anthony 63e99ef0d1 More cleanups to FSNodePOSIX. 2022-10-12 12:58:00 -02:30
Stephen Anthony dfb64f05a8 Add missing directory separator that sometimes is missing in SQL database file. 2022-10-11 18:45:46 -02:30
Stephen Anthony 35e0cf7a67 Remove Readme.txt, replace with README.md (which contains the former). 2022-10-10 23:33:51 -02:30
Stephen Anthony 35bc4ac8b6 Some optimizations for FSNodeWINDOWS. 2022-10-10 18:26:45 -02:30
Stephen Anthony 0a14629fa4 More optimization for FSNodePOSIX. 2022-10-10 17:05:22 -02:30
Stephen Anthony 437046bb6b Some minor optimizations to FSNodePOSIX. 2022-10-10 16:40:25 -02:30
Stephen Anthony 7b5d25d9f1 Fix minor warning from clang-tidy. 2022-10-09 21:50:57 -02:30
Stephen Anthony 7de717114c Separate sound mute and enable functionality.
Mute simply changes the sound level; disabling sound completely is now done separately.
2022-10-09 21:28:35 -02:30
Thomas Jentzsch 4044af5770 updated debugger doc for timers (screenshots) 2022-10-09 15:00:29 +02:00
Thomas Jentzsch 5a558a6afe fixed jitter emulation 2022-10-09 12:15:01 +02:00
Thomas Jentzsch 9e973bc955 fixed frame layout detection 2022-10-09 07:38:08 +02:00
Stephen Anthony e752f376e9 Updated sqlite3 to latest version. 2022-10-08 23:26:12 -02:30
Stephen Anthony 0bfb51cd30 Updated httplib to latest version. 2022-10-08 22:26:35 -02:30
Stephen Anthony 26cca6ad1a Updated PNG lib to latest version. 2022-10-08 22:22:48 -02:30
Stephen Anthony e33542da57 Updated JSON lib to latest version. 2022-10-08 22:15:53 -02:30
Stephen Anthony 1001fdae14 Suggested fixes from clang-tidy. 2022-10-08 20:33:59 -02:30
Stephen Anthony 6fb5903fcc Fix minor warning: parameter mirrors instance variables. 2022-10-08 20:11:31 -02:30
Thomas Jentzsch aadb28a618 reworked timer syntax and code and fixed some bugs 2022-10-08 11:54:38 +02:00
Thomas Jentzsch a8142633ce Merge branch 'master' of https://github.com/stella-emu/stella 2022-10-07 09:29:18 +02:00
Thomas Jentzsch b43fdbe52c fixed launcher image navigation for HiDPI mode 2022-10-07 09:29:02 +02:00
Stephen Anthony 6b5e2515a1 Add new class to Xcode project. 2022-10-06 13:20:53 -02:30
Stephen Anthony 744532fbba Fix minor compile issues. 2022-10-06 13:07:27 -02:30
Thomas Jentzsch e5f391d5a1 ...plus a fix for the make file 2022-10-06 17:07:11 +02:00
Thomas Jentzsch 083c9dc8d5 Merge branch 'master' of https://github.com/stella-emu/stella 2022-10-06 17:04:40 +02:00
Thomas Jentzsch 4633f4e394 ...and the usual missing new files 2022-10-06 17:04:12 +02:00
Stephen Anthony e8e82dc2dd Fixed typo in module.mk. 2022-10-06 12:33:45 -02:30
Thomas Jentzsch 3de6002c46 added user defined timers to debugger (TODO: screenshots) 2022-10-06 16:55:00 +02:00
Thomas Jentzsch d8ed1d1d13 Fixed "logBreaks" output in debugger 2022-10-03 18:16:14 +02:00
Stephen Anthony d893b12807 Some refactoring of SoundSDL2, placing WAV handling in its own inner class. 2022-10-01 21:06:12 -02:30
Thomas Jentzsch cff0821f33 fixed unwanted button up events in UI navigation 2022-10-01 21:21:20 +02:00
Thomas Jentzsch 65115cc3a1 enhanced UI navigation with a controller
added "Cancel" option to LauncherDialog context menu if opened with a controller
updated docs for image navigation in LauncherDialog
2022-10-01 11:07:02 +02:00
Stephen Anthony 129ec5886a First pass at separating Sound mute/pause functionality.
This will need lots of testing, since it touches many parts of the code.
2022-09-24 21:33:39 -02:30
Stephen Anthony 518f8eb5bd Fixed crash in resampling WAV playing; forgot to create an array.
Make WAV resampling default behaviour.
2022-09-19 01:33:36 -02:30
Stephen Anthony 3b073054ff Use unique_ptr instead of C-style allocations. 2022-09-18 16:56:57 -02:30
Thomas Jentzsch 79bf02f5e3 eliminated frequent memory allocation while playing WAV files 2022-09-16 15:18:24 +02:00
Thomas Jentzsch fbcf4670b9 fixed WAV echo problem and enabled on-the-fly resampling 2022-09-15 18:34:37 +02:00
Thomas Jentzsch 5e09f486af added on-the-fly WAV resampling (disabled, causes echo) 2022-09-15 15:21:10 +02:00
Thomas Jentzsch 1263f28e49 removed debug code and cast warning 2022-09-14 19:34:30 +02:00
Thomas Jentzsch 067cf7e021 fixed interrupted WAV continuing to play at restart 2022-09-14 17:38:47 +02:00
Thomas Jentzsch c53e0eabcb fixed Sound muting for WAV files 2022-09-14 13:39:24 +02:00
Stephen Anthony d488b9c860 More 'const' conversion, with help from clang-15. 2022-09-13 22:52:59 -02:30
Thomas Jentzsch a647b2ba7f implemented gapless playback for WAV files (KidVid) 2022-09-13 15:24:19 +02:00
Thomas Jentzsch 9d6cee710e added messages for Kid Vid 2022-09-10 15:56:25 +02:00
Thomas Jentzsch 2027882c77 added mute all songs option for Kid Vid 2022-09-09 14:09:46 +02:00
Stephen Anthony 098710a32e Eliminate unused variable. 2022-09-08 22:59:11 -02:30
Thomas Jentzsch 3293aecdd0 enhanced KidVid to allow selecting and starting the games via console switches 2022-09-08 19:43:58 +02:00
Thomas Jentzsch 8aa67f8493 fixed cut off Kid Vid songs 2022-09-07 12:26:03 +02:00
Thomas Jentzsch 201a2c909a enhanced KidVid song skipping
removed clicks at end of songs
2022-09-05 23:15:21 +02:00
Stephen Anthony 5b2e714d4f Bumped state number for changes to KidVid state file. 2022-09-04 14:31:15 -02:30
Thomas Jentzsch 69e61fb4e5 refactored KidVid code a bit
updated doc
2022-09-04 18:40:46 +02:00
Stephen Anthony 01e8d29190 Bump state version for KidVid; clean up some typos. 2022-09-04 12:55:53 -02:30
Thomas Jentzsch 0f09b945ce added KidVid tape state serializing 2022-09-04 10:03:40 +02:00
Stephen Anthony 087767b17b Add stubs to KidVid for save/load functionality (TODO). 2022-09-03 22:43:42 -02:30
Stephen Anthony 2296b334dc Minor formatting cleanups for recent commits. 2022-09-03 20:10:22 -02:30
Thomas Jentzsch 21f3b319c2 added WAV file volume adjustment (resolves #77) 2022-09-03 20:56:38 +02:00
Stephen Anthony 1c38d3e57a Fix a few minor compiler warnings.
Make WAV play methods not pure virtual, so we can change them without affecting libretro.
2022-09-03 14:51:20 -02:30
Stephen Anthony dfccad83cf libretro: Fix compile failure from latest Sound changes. 2022-09-03 14:08:09 -02:30
Stephen Anthony b1234dd086 Fix minor compile warning. 2022-09-03 13:13:29 -02:30
Thomas Jentzsch ba6b32aa21 added WAV playing and adapted KidVid code accordingly 2022-09-03 16:54:33 +02:00
Stephen Anthony 162921b9f3 Convert KidVid file I/O to C++ ifstreams. 2022-09-02 10:14:14 -02:30
Thomas Jentzsch bbb87af60f some KidVid refactoring 2022-09-02 08:18:55 +02:00
Stephen Anthony b00af67d83 One last fix for Xcode project. 2022-09-01 15:24:37 -02:30
Stephen Anthony 36026b3164 Finally fixed Xcode project. 2022-09-01 15:07:57 -02:30
Stephen Anthony b2324da378 More fixes to Xcode project. 2022-09-01 14:12:52 -02:30
Thomas Jentzsch 64eac84bf9 Merge branch 'master' of https://github.com/stella-emu/stella 2022-09-01 17:47:35 +02:00
Thomas Jentzsch 3789843b39 allow playing KidVid without tapes 2022-09-01 17:47:19 +02:00
Stephen Anthony 284147e243 Second pass at fixing Xcode project. 2022-09-01 13:05:26 -02:30
Stephen Anthony e7e9e97afd First pass at fixing Xcode project. 2022-09-01 12:52:03 -02:30
Thomas Jentzsch 601287f8c7 reworked KidVid code a little bit (still not working) 2022-09-01 13:58:43 +02:00
Stephen Anthony f8bcfc3c64 Fix minor initialization warning. 2022-08-25 20:57:57 -02:30
Thomas Jentzsch c0bea2763b disabled random start bank for MDM bankswitching ROMs 2022-08-22 09:36:38 +02:00
Thomas Jentzsch a7e19d1d6b fixed multiple images crash when no images exist 2022-08-22 09:35:53 +02:00
Stephen Anthony 31efb08742 Fix minor warning with g++ and tinyexif. 2022-08-21 19:42:37 -02:30
Stephen Anthony 19da02fb9c Final batch of fixes from clang-tidy (for now). 2022-08-21 19:33:08 -02:30
webgeek1234 c64277346a
libretro: android: Fix jni source paths (#921)
Change-Id: Ic580fee9833b4110ddcead0033e8106871b22241
2022-08-21 21:14:15 +02:00
Stephen Anthony fc0a8c91a8 Second pass at fixes for suggestions from clang-tidy. 2022-08-21 13:53:52 -02:30
Thomas Jentzsch faf7e8b775 added alternative debugger snapshot naming option 2022-08-21 12:49:13 +02:00
Stephen Anthony df8c7a6ff6 Merge branch 'master' of github.com:stella-emu/stella 2022-08-20 15:32:45 -02:30
Stephen Anthony f987c3f72c Yay, got clang-tidy working again. First pass at fixing suggestions. 2022-08-20 15:32:15 -02:30
Thomas Jentzsch 6a07d2b967 Merge branch 'master' of https://github.com/stella-emu/stella 2022-08-20 20:00:27 +02:00
Thomas Jentzsch ea05619402 added "swchb" command to debugger 2022-08-20 20:00:03 +02:00
Stephen Anthony 6215829efa libretro: Second pass at fixing Android builds. 2022-08-19 18:40:42 -02:30
Stephen Anthony e67b88d35f libretro: Attempt to fix Android build script. 2022-08-19 16:05:55 -02:30
Thomas Jentzsch 27c694ac0e made image area in Launcher a square to allow better display of vertical oriented images (e.g. boxes)
changed unused image area background to black
2022-08-19 10:23:34 +02:00
Stephen Anthony 7c58ea2a61 Fixed a few new paths missed in previous commits. 2022-08-18 19:15:28 -02:30
Thomas Jentzsch 34618aab46 enhanced multiple image sorting
improved image memory allocation
2022-08-18 16:31:54 +02:00
Stephen Anthony fea886d4b6 More rearrangements of classes in Visual Studio project file.
Some fixes for suggestions from VS.
2022-08-17 19:11:41 -02:30
Stephen Anthony 0a4a9e982c Remove debugging code. 2022-08-17 18:30:27 -02:30
Thomas Jentzsch d1d017f349 removed a debug cerr 2022-08-17 20:36:26 +02:00
Thomas Jentzsch 10dd13d997 two small fixes 2022-08-17 20:32:49 +02:00
Stephen Anthony 8975b98731 Placed all debugger gui files in `src/debugger/gui` in Visual Studio. 2022-08-17 12:54:24 -02:30
Stephen Anthony 11437646ae Fix `yacc` directory in Visual Studio. 2022-08-17 12:45:22 -02:30
Stephen Anthony bf541f0696 Move `yacc` directory to `src/debugger`. 2022-08-17 12:38:40 -02:30
Stephen Anthony a6cf504972 Fix Visual Studio project file for `src/lib` reorg. 2022-08-17 12:16:09 -02:30
Stephen Anthony 18534a4876 Move various libs to `src/lib`. Again, expect some breakage. 2022-08-17 11:41:31 -02:30
Stephen Anthony dffeacfad0 Fix paths in Windows build script. 2022-08-17 11:16:20 -02:30
Stephen Anthony d654994c78 First pass at moving platform-specific code to src/os.
Likely there *will* be breakage.
2022-08-17 10:50:57 -02:30
Stephen Anthony ea02ba769a Fixed segfault; reference to string was removed after it was assigned. 2022-08-17 09:40:13 -02:30
Stephen Anthony 540d503e7f Fix tinyexif in Visual Studio. 2022-08-17 08:05:42 -02:30
Stephen Anthony 13d933c429 Fixed tinyexif in Linux. Now to fix it in Windows. 2022-08-17 07:48:27 -02:30
Thomas Jentzsch f9a1782886 updated doc for multiple images format 2022-08-17 10:46:50 +02:00
Thomas Jentzsch 730b66cc08 added reading EXIF from JPG images 2022-08-17 10:08:57 +02:00
Thomas Jentzsch 7691b2606f made ROM info delay adaptive
some cleanup of the new JPG reading code
2022-08-17 09:17:04 +02:00
Stephen Anthony 6e4710750f Fix nanojpeg in Visual Studio. 2022-08-16 21:57:57 -02:30
Stephen Anthony f5d6760f0d Second pass at JPG support. nanojpeg *really* doesn't like being split into h/c files. 2022-08-16 21:45:19 -02:30
Stephen Anthony 6be7544fa4 Fix PNG/JPG loading in Linux. 2022-08-16 21:20:09 -02:30
Thomas Jentzsch a092a60d79 and the usual, missing update of the .mk file 2022-08-16 22:11:40 +02:00
Thomas Jentzsch 3158850792 the usual, forgotten new files 2022-08-16 22:08:40 +02:00
Thomas Jentzsch 72a51946cc Merge branch 'master' of https://github.com/stella-emu/stella 2022-08-16 22:07:35 +02:00
Thomas Jentzsch 4a491d21b9 added JPG loading support 2022-08-16 22:03:06 +02:00
Stephen Anthony e52f95c9bb Fix minor compile warning in g++. 2022-08-16 14:05:33 -02:30
Stephen Anthony 7cddeb6dfd Updated Xcode build for missing class. 2022-08-15 14:22:43 -02:30
Thomas Jentzsch 1f0cc03f4f updated doc for multiple launcher images (TODO: R77) 2022-08-15 14:12:07 +02:00
Stephen Anthony 813bdc6749 libretro: Clean up redundant cxx files. 2022-08-14 20:25:41 -02:30
Thomas Jentzsch 9077ee8642 improved pending rom update handling
added using a regular expression for searching images
2022-08-14 15:22:40 +02:00
Stephen Anthony 477c800d0e We don't need to check for directory, since we're using FSNode::ListMode::FilesOnly. 2022-08-13 21:24:03 -02:30
Thomas Jentzsch 8f8efafd98 added multiple image searching delay 2022-08-14 00:53:03 +02:00
Stephen Anthony 40f472b913 Fix compile error under g++. 2022-08-13 17:22:02 -02:30
Thomas Jentzsch 5965524ac4 optimized image filter filter 2022-08-13 21:17:55 +02:00
Thomas Jentzsch baba0360d3 and some more fixes 2022-08-13 15:12:41 +02:00
Thomas Jentzsch 50db2abc50 some fixes and cleanup 2022-08-13 10:09:44 +02:00
Stephen Anthony b51d6c2fce Fix compile error in Linux. 2022-08-12 16:43:01 -02:30
Thomas Jentzsch 093c10bd00 fixed reversed image directions 2022-08-12 20:52:25 +02:00
Thomas Jentzsch 66c75b4cc9 updated make file for new class 2022-08-12 20:47:31 +02:00
Thomas Jentzsch d1412c31c8 Merge remote-tracking branch 'remotes/origin/feature/multiimages' 2022-08-12 20:45:28 +02:00
Thomas Jentzsch 7a6fee1cd1 added image navigation display
added keyboard image navigation (TODO: controller)
2022-08-12 20:12:10 +02:00
Thomas Jentzsch b243e4867b added reading and displaying image labels 2022-08-12 11:40:21 +02:00
Thomas Jentzsch 15ecfc1887 added multiple image searching and switching 2022-08-10 20:59:02 +02:00
Thomas Jentzsch df95dd0df8 preparing for #916 2022-08-10 08:19:12 +02:00
Stephen Anthony 4fecd8fc97 Some fixes for suggestions from cppcheck. 2022-08-09 14:34:53 -02:30
Thomas Jentzsch 511fbb3644 a few minor changes (finally resolves #913 and #914) 2022-08-06 09:20:13 +02:00
Thomas Jentzsch 7b906e824f added bankswitching type to displayed multi cart information 2022-08-05 18:57:11 +02:00
Stephen Anthony 72c88d27a9 Implemented suggestions from various linting tools. 2022-08-04 22:15:04 -02:30
Stephen Anthony 13c2eaeff1 Fixed compile error. 2022-08-04 18:38:10 -02:30
Thomas Jentzsch 27e3d87844 added disabling of some Game properties widgets for multi carts
added ROM name to Game properties title
2022-08-04 22:56:12 +02:00
Thomas Jentzsch dc47100869 updated doc for optional filtering of Game Properties/Emulation/Types using ROM size 2022-08-02 12:33:14 +02:00
Thomas Jentzsch c4443d6bb5 added optional filtering of Game Properties/Emulation/Types using ROM size (TODO: doc) 2022-07-30 21:24:39 +02:00
Thomas Jentzsch ba51197927 added if loading by ROM property name fails, try ROM file name (fixes #911) 2022-07-15 11:11:56 +02:00
Thomas Jentzsch ffde2e592a enhanced scanline based frame layout detection to fractional values, this allows combining results with color based layout overruling 2022-07-14 20:03:45 +02:00
Stephen Anthony 5ad9c0e5ce Fix minor compile warnings. 2022-07-13 11:32:27 -02:30
Thomas Jentzsch 1a8971e6d1 added optional autodetection of PAL-60 & NTSC-50 2022-07-13 10:34:15 +02:00
Thomas Jentzsch a80798e281 improved Windows command line output 2022-07-07 21:29:38 +02:00
Thomas Jentzsch 7b0ec038c7 fixed console output not working under Windows 2022-07-07 20:25:30 +02:00
Thomas Jentzsch d12f7a46c3 Some minor polishing on LauncherDialog 2022-07-05 11:45:17 +02:00
Thomas Jentzsch 8867092955 Revert "Doubled gap before "Filter" label"
This reverts commit 345725c73b.
2022-07-05 09:23:09 +02:00
Thomas Jentzsch 345725c73b Doubled gap before "Filter" label 2022-07-05 09:18:14 +02:00
splendidnut fa116fef1e
Suggested layout changes for the Launcher UI. (#910)
* Changed the layout in the new Launcher UI to have the controls in a more natural order.

* Changed the layout using provided feedback in the Github pull-request.
- Swapped button locations for Options and Help.
- Moved Reload button to be left of the Filter label/field.
- Updated screenshots in docs directory

* Updated screenshots in docs directory to show Favorites folder in file listing.

Co-authored-by: splendidnut <pblackman@gmail.com>
2022-07-05 08:48:26 +02:00
Thomas Jentzsch c90908327c updated PathWidget to skip reloading if path has not changed 2022-07-02 20:59:33 +02:00
Stephen Anthony 7dc71fec94 Fix warnings in gcc and clang for missing initializers.
Normally I would disable the warning completely (everywhere), but it's very useful to have.
In this case, the code can be much faster, as it saves having to initialize empty string objects.  So we disable the warning selectively.
2022-07-01 10:05:35 -02:30
Thomas Jentzsch 4f07e78134 removed superfluous empty initializers
made InputDialog slightly wider
2022-07-01 10:27:17 +02:00
Stephen Anthony 92a0b5c998 Added Joy2B classes to Xcode project. 2022-06-30 13:25:07 -02:30
Thomas Jentzsch 9eaaefd802 oops 2022-06-30 16:43:54 +02:00
Thomas Jentzsch 331cdba445 Merge branch 'master' of https://github.com/stella-emu/stella 2022-06-30 16:33:07 +02:00
Thomas Jentzsch f84a65d281 fixed filename of Joy2BPlusWidget 2022-06-30 16:32:53 +02:00
Stephen Anthony 036a74f005 Fix compilation in Linux (module.mk incorrect). 2022-06-30 08:53:18 -02:30
Thomas Jentzsch 73ffb94d43 added Joy 2B+ support (resolves #909) 2022-06-30 12:54:12 +02:00
Thomas Jentzsch e01d49e485 enhanced keyboard controller detection (except MagiCard) (fixes #908) 2022-06-29 23:40:13 +02:00
Thomas Jentzsch 08db05d198 7800 pause is now working again (fixes #905)
updated doc for 7800 pause hotkey
2022-06-26 19:39:18 +02:00
Stephen Anthony e253be49d5 libretro: disable TV jitter until it settings are exposed through the UI.
This fixes rolling on NTSC ROMs that worked previous to 6.7 release.
2022-06-18 18:09:06 -02:30
Stephen Kitt b35b2b7542
Add Terminus font licensing information (#902)
src/gui/Stella*tFont.hxx are derived from the Terminus font, whose
license requires the full copyright notice and license to be provided
with original or modified versions of the font.

This adds the missing information.

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-06-18 14:18:27 +02:00
Stephen Anthony 4a2ed8f7d0 Refactored 'FilesystemNode' -> 'FSNode', in preparation for large overhaul of these classes. 2022-06-14 16:28:20 -02:30
Stephen Anthony 4af178bdd1 Bumped version number for next release. It's probably some time away yet; certainly not this year.
One requirement is it will require C++17 fully. So that means g++-10 at minimum, Visual Studio 2022, and the latest version of Xcode.
2022-06-14 15:52:07 -02:30
Stephen Anthony 64ee8686d6 Updated to Visual Studio 2022. 2022-06-14 15:40:40 -02:30
Stephen Anthony 4c7384f82e Final commit for 6.7 release. 2022-06-13 10:54:19 -02:30
Stephen Anthony 0b093cb152 Check in some WIP code; still working on issue 851. 2022-06-12 16:54:36 -02:30
Stephen Anthony 397dc102ac Update Visual Studio for new BUS class, and fix some minor warnings. 2022-06-11 21:27:36 -02:30
Stephen Anthony 0445a20e13 Fixed some warnings from the previous BUS commit, and added support for Linux/UNIX. 2022-06-11 20:55:43 -02:30
Darrell Spice, Jr c78f9e26b6
Updated BUS to support some of the older demos. (#898) 2022-06-11 20:40:12 -02:30
Stephen Anthony b5cc7d41c9 Added getSize() to FSNodeZIP. This allows to detect too large files in ZIP files. 2022-06-11 19:15:44 -02:30
Thomas Jentzsch 42b6a29274 Merge branch 'master' of https://github.com/stella-emu/stella 2022-06-10 17:37:23 +02:00
Thomas Jentzsch 0fc409b2fc changed controller ID from 'J..' to 'C..' 2022-06-10 17:36:19 +02:00
Stephen Anthony 67c2e7b6ad Pushed 6.7 release to Monday, June 13.
This is the last time, I promise :)
2022-06-09 19:18:33 -02:30
Stephen Anthony 7a0a03e160 Minor formatting fix.
Just my OCD kicking in.
2022-06-09 17:33:03 -02:30
Thomas Jentzsch 49d775c893 some minor fixes 2022-06-09 12:20:44 +02:00
Stephen Anthony df2c8c70d9 Detect file size in FSNodeWINDOWS. 2022-06-08 18:48:40 -02:30
Christian Speckner 764a6d66aa R77: cut down what's new in order to fit screen and avoid crash. 2022-06-08 19:12:48 +00:00
Christian Speckner e86bf5df78 Fix memory corruption if history is empty. 2022-06-08 19:11:52 +00:00
Stephen Anthony a582a64cb6 Fix minor compile warning from Xcode. 2022-06-07 12:19:48 -02:30
Thomas Jentzsch ac4801ffb3 added missing PlusROM code to CartBUS.cxx 2022-06-06 22:26:47 +02:00
Stephen Anthony cec3b76fb9 First pass at detecting ROM file size and not loading ROMs that are too large.
Note that this only works in UNIX for now; still TODO for Windows and ZIP files.
For the TODO, the current code still loads ROMs, but just doesn't ignore large files.
2022-06-05 20:58:03 -02:30
Stephen Anthony 7e03cfac4d libretro: Fix compile errors due to missing JitterEmulation functionality. 2022-06-05 20:39:19 -02:30
Stephen Anthony aad997a6bd Pushed 6.7 release to June 11. 2022-06-05 19:29:49 -02:30
Stephen Anthony 226ceea12f std::min and std::max are templates, and can't be combined with 'using'. 2022-06-05 11:40:04 -02:30
Stephen Anthony f8e1ebac82 Make code a little more concise; should have done this in the last commit. 2022-06-05 11:10:44 -02:30
Stephen Anthony b1dfa60def Fix minor compile warnings in clang. 2022-06-05 11:02:25 -02:30
Thomas Jentzsch 3beb5599e2 enhanced jitter (resolves #316) 2022-06-05 15:14:51 +02:00
Stephen Anthony eb6d854599 Add extra warning about using brace initialization on json when we shouldn't. 2022-06-04 11:53:28 -02:30
Thomas Jentzsch 496848d3a3 fixed curly bracket initialization for json map (yields arrays!) 2022-06-04 13:40:23 +02:00
Christian Speckner dff9606216 Fix out-of-bounds. 2022-06-04 08:45:39 +02:00
Thomas Jentzsch bf78b34848 added properties for Indy 500 Menu hack 2022-06-03 09:09:41 +02:00
Stephen Anthony 6815513d47 Fixed some potential out-of-bounds accesses detected by _GLIBCXX_DEBUG. 2022-05-31 16:49:52 -02:30
Stephen Anthony ba44910f1e Move release date for 6.7 to June 6. 2022-05-29 19:29:09 -02:30
Stephen Anthony 53dba3bba9 Fix a few array out of bounds accesses (fixes #806).
Note that this applies to mainline too, not just libretro.
2022-05-29 16:40:17 -02:30
Stephen Anthony b70906c95f Updated httplib to latest released version. 2022-05-29 13:21:55 -02:30
Stephen Anthony 70ac0f38c8 Updated sqlite files to latest released version. 2022-05-29 13:03:12 -02:30
Stephen Anthony dd051f4b4e Bumped version # for event and state files, since both have non-compatible changes since the 6.6 release. 2022-05-29 12:58:20 -02:30
Stephen Anthony df4556efb9 Updated to latest zlib release (1.2.12). 2022-05-28 17:59:00 -02:30
Stephen Anthony 05be90f1ed Fix json handing when compiling with g++ compiler.
This fixes issues with not loading joystick mappings with g++.
2022-05-28 16:51:17 -02:30
Christian Speckner d49b2b3818 Merge remote-tracking branch 'origin/6.6-r77' 2022-05-24 21:55:13 +00:00
Stephen Anthony 78cc21824e Updated internal properties database to RomHunter v17. 2022-05-23 19:45:40 -02:30
Stephen Anthony 5b788cac1e Fixed creation and merging of stella.pro to DefProps.hxx. 2022-05-20 19:07:04 -02:30
Thomas Jentzsch 264e573cf8 minor fix to WhatsNewDialog 2022-05-17 18:05:03 +02:00
Stephen Anthony 4ab905a1da Updated release date for upcoming 6.7 release. 2022-05-17 12:57:09 -02:30
Stephen Anthony 859dfc79db Fix crash when directory doesn't exist in BrowserWidget (fixes #888). 2022-05-14 14:59:22 -02:30
Thomas Jentzsch 65f8823ba8 improved Mindlink support 2022-05-09 19:04:23 +02:00
Stephen Anthony c0ab3580c3 Fixes for a few minor warnings from cppcheck. 2022-05-08 17:50:16 -02:30
Stephen Anthony 928de47898 Minor fixes for warnings from some lint tools. 2022-05-08 13:55:17 -02:30
Thomas Jentzsch e13233e5b7 two minor fixes for multi-segment ROM disassemblies 2022-05-05 12:28:47 +02:00
Thomas Jentzsch 73ffb66b3d allow quick select for directories starting with non-letter chars (fixes #891) 2022-05-05 00:20:33 +02:00
Thomas Jentzsch 1a20e6deb4 fixed saved disassembly for extra RAM 2022-05-03 10:18:27 +02:00
Stephen Anthony f50b8f068d Improve processing files that aren't valid ROMs.
Now, the extension is actually checked before opening the ROM.
Streaming ROMs (MVC) are already taken care of, but still TODO is limit read to Cart::maxSize().
2022-04-30 18:53:39 -02:30
Thomas Jentzsch 06f42252fa fixed disassembling of ZP-RAM code (fixes #890) 2022-04-30 21:24:36 +02:00
Thomas Jentzsch efb2a9f299 corrected RESMPx for double sized players (fixes #889) 2022-04-21 18:57:33 +02:00
Stephen Anthony 95fd093739 Fix minor warning from clang. 2022-04-19 11:30:28 -02:30
Thomas Jentzsch 5545ef0cfc improved disassembly of multi segment ROMs (see #568) 2022-04-19 11:10:09 +02:00
Stephen Anthony ecaa3197d2 Eliminate warning for unused parameter. 2022-04-16 21:54:16 -02:30
Stephen Anthony 19e8e8e022 When opening ROMs, ignore error messages in certain cases. 2022-04-16 21:52:10 -02:30
Stephen Anthony fed3fa2241 Fix parsing large MVC files causing lockup/crash in GUI (fixes # 829).
Still TODO is deal with large files other than MVC, and also ZIP files.
At least the logic for analyzing size is now in one method (OSystem::openROM).
2022-04-16 19:25:50 -02:30
Thomas Jentzsch df4900828c added regex for PAL-N in filename (->NTSC50) 2022-04-13 11:27:53 +02:00
Thomas Jentzsch cdecb9165e improved bank origin detection (fixes #428) 2022-04-11 09:14:01 +02:00
Thomas Jentzsch 47710cdbcd Fixed spelling of EconoBanking 2022-04-10 16:25:15 +02:00
Thomas Jentzsch 8fd02dc8ad fixed company name into Fotomania 2022-04-10 16:16:12 +02:00
Stephen Anthony 2cf31c10ee Disable warnings in Xcode for all files we don't control. 2022-04-09 13:08:58 -02:30
Stephen Anthony 6b73ea60c3 Added recent class additions to Xcode project.
Fixed some minor issues in VS project.
Minor formatting fixes.
2022-04-09 12:19:18 -02:30
Thomas Jentzsch 63387c693a fixed path of Cart0FA0Widget 2022-04-09 14:55:21 +02:00
Thomas Jentzsch 544f662f1d added 0FA0 (Mania) bankswitching
modified UA bankswitching accordingly
2022-04-09 10:26:22 +02:00
Stephen Anthony 3b9184ec5f Eliminated BSPF::getenv(), as only the UNIX version is used.
I spent a lot of time trying to eliminate warnings in the Windows version of this
function, only to realize it's only ever used in POSIX-specific code!
2022-04-08 19:51:15 -02:30
Stephen Anthony 071e8f7eb1 Fix minor warning from cppcheck. 2022-04-08 11:23:26 -02:30
Thomas Jentzsch d3766f0737 added hotkey tooltips to CommandDialog 2022-04-07 11:14:46 +02:00
Thomas Jentzsch 0e159f4f66 aligned hotkey display format with doc 2022-04-06 11:46:14 +02:00
Thomas Jentzsch fc1d87f6de added some more hotkey tooltips to GameInfoDialog 2022-04-05 18:07:31 +02:00
Stephen Anthony 5258d05167 Some more const updates for Mac port. 2022-04-04 16:27:13 -02:30
Stephen Anthony ad850959c0 Eliminate unused variable. 2022-04-04 13:46:41 -02:30
Thomas Jentzsch 2f10781b6d added hotkey tooltips to debugger 2022-04-04 17:38:21 +02:00
Stephen Anthony c3ef18987b Minor 'const' updates to POSIX classes. 2022-04-03 20:36:39 -02:30
Stephen Anthony 0c1eaa5b23 Speed up linking in Visual Studio, per recommendations given after
compiling.
2022-04-03 16:01:32 -02:30
Stephen Anthony acbddf6d44 Fix methods aliasing superclass methods without using virtual/override. 2022-04-03 15:58:57 -02:30
Thomas Jentzsch 04e629450a Merge branch 'master' of https://github.com/stella-emu/stella 2022-04-03 19:55:59 +02:00
Thomas Jentzsch edef47b4ed fixed #885 (detected settings display overwritten by auto pause) 2022-04-03 19:55:42 +02:00
Stephen Anthony a038a0f791 Updated M6502.ins/m4 to use static_cast and const. 2022-04-03 12:51:59 -02:30
Stephen Anthony fc2ae0c585 Make DefProps constexpr. 2022-04-02 21:45:42 -02:30
Stephen Anthony 99ad1618e0 Converted more C-style code to C++. 2022-04-02 21:04:06 -02:30
Stephen Anthony 40127109c8 Fourth pass at updates for warnings from Visual Studio. 2022-04-02 19:25:35 -02:30
Thomas Jentzsch 11ff4aca4f Added hotkey display to tooltips 2022-04-02 19:07:28 +02:00
Stephen Anthony 0ef0e35f45 Fix compile error; I forget to test changes in debug mode. 2022-03-31 18:54:40 -02:30
Stephen Anthony 619cfff2f9 Third pass at updates for warnings from Visual Studio. 2022-03-31 17:20:19 -02:30
Thomas Jentzsch f6fcb8aa06 optimized Thumbulator range checks 2022-03-30 14:20:11 +02:00
Thomas Jentzsch 5e5a426a02 Merge branch 'master' of https://github.com/stella-emu/stella 2022-03-29 19:18:35 +02:00
Thomas Jentzsch 7b1e494ca3 enhanced range checks for Thumbulator
changed initial Thumb code stack pointer
2022-03-29 19:18:11 +02:00
Stephen Anthony 48d1a6a321 Second pass at fixing warning from Visual Studio (const and C-style casts). 2022-03-28 22:00:26 -02:30
Stephen Anthony 6a74c61ac5 First pass at fixing warning from Visual Studio (const and C-style casts).
This isn't all the code, just checking in the WIP so far.
It's not exciting work like new features, etc, but is required to keep the codebase clean.
I actually find it kind of relaxing; taking a short break from new features.
2022-03-27 18:09:55 -02:30
Christian Speckner f4401bea92 Xcode: target local arch for debug build, create fat binary for release. 2022-03-22 22:50:29 +01:00
Stephen Anthony fee159ea81 Minor updates for warnings from cppcheck. 2022-03-18 14:58:39 -02:30
Thomas Jentzsch 6d07ba4072 minor tweaks 2022-03-16 16:12:55 +01:00
Thomas Jentzsch 279cffe7b7 added another UA bankswitching detection pattern 2022-03-08 18:33:12 +01:00
Thomas Jentzsch 54c0dc8420 updated game properties 2022-03-06 12:26:33 +01:00