Commit Graph

3023 Commits

Author SHA1 Message Date
thrust26 825d2339b9 trying to fix Linux build 2023-08-05 15:43:56 +02:00
thrust26 cbe0ba8eee added 03E0 bankswitching for Brazilian Parker Bros ROMs (resolves #887) 2023-08-05 15:20:46 +02:00
Stephen Anthony 49fb4d01bb Remove 'launcherroms' option, in the process fixing #851. 2023-08-02 18:19:50 -02:30
thrust26 f7e46338b8 added default mapping controller port option (resolves #897) 2023-08-02 17:03:57 +02:00
Stephen Anthony 55e3874097 Some cleanup of CartAR class, in preparation for moving some code from System class. 2023-08-01 17:44:44 -02:30
Stephen Anthony d2fde2caff Minor fixes for suggestions from clang-tidy. 2023-06-14 19:47:17 -02:30
thrust26 5af0163e43 reordered cart detection order to improve correct detection rate 2023-06-14 14:08:11 +02:00
thrust26 e06ca50b13 added phosphor to Amidar game properties 2023-06-14 09:50:56 +02:00
thrust26 ee13c16930 fixed QuadTari mapping storage 2023-06-12 17:45:18 +02:00
thrust26 88793d3d52 minor fixes for GL bankswitching 2023-06-04 14:24:32 +02:00
thrust26 21ff152c49 added limited GameLine Master Module bankswitching support 2023-06-03 21:03:07 +02:00
thrust26 67a039b111 changed CommaVid ROMs to 4K size (fixes #969) 2023-05-09 12:26:12 +02:00
Stephen Anthony ed68467ff0 Minor fixes from clang-tidy. 2023-04-17 16:59:44 -02:30
thrust26 76bd7f493f added missing PlusROM support for E7 bankswitching (fixes #965) 2023-04-09 15:18:24 +02:00
Thomas Jentzsch b8e2641e34 added right controller KEYBOARD properties for Star Raiders (auto detected as Joy 2B+) 2023-03-19 17:56:16 +01:00
Thomas Jentzsch fd7c4951c2 trying to address #962 for Linus & MacOS 2023-03-18 21:06:06 +01:00
Thomas Jentzsch 790bc51c83 added alternative theme, switchable via hotkey. this is a preparation for SDL2 supporting system theme change events (day/night) soon 2023-03-15 17:06:52 +01:00
Thomas Jentzsch fb9323272a added missing changed class 2023-03-15 14:44:01 +01:00
Thomas Jentzsch 45157e8eb2 fixed odd ROM sizes for 3E+ (fixed #960 2023-03-15 13:57:30 +01:00
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
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
Stephen Anthony b71573f1f6 Fix missing const caught by clang-tidy. 2023-01-28 19:22:31 -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
Stephen Anthony d05957510a Small optimization; don't unnecessarily clear buffers. 2023-01-08 21:52:24 -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
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 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 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 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
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
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 47a6b1de32 3e+ comments fixed 2022-12-14 18:15:27 +01:00
Thomas Jentzsch 43a67ef224 added middle mouse button support (emulates double click) 2022-12-06 19:21:07 +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
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 d1767d4d93 More 'const char* const' fixes. 2022-11-13 12:31:36 -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
Thomas Jentzsch 6cbb06b10a added VSYNC warning to console info overlay in developer mode 2022-10-20 12:48:51 +02:00
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 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
Thomas Jentzsch aadb28a618 reworked timer syntax and code and fixed some bugs 2022-10-08 11:54:38 +02:00
Stephen Anthony 744532fbba Fix minor compile issues. 2022-10-06 13:07:27 -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 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
Thomas Jentzsch 067cf7e021 fixed interrupted WAV continuing to play at restart 2022-09-14 17:38:47 +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
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
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
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
Thomas Jentzsch 3789843b39 allow playing KidVid without tapes 2022-09-01 17:47:19 +02:00
Thomas Jentzsch 601287f8c7 reworked KidVid code a little bit (still not working) 2022-09-01 13:58:43 +02:00
Thomas Jentzsch c0bea2763b disabled random start bank for MDM bankswitching ROMs 2022-08-22 09:36:38 +02:00
Stephen Anthony 19da02fb9c Final batch of fixes from clang-tidy (for now). 2022-08-21 19:33:08 -02:30
Stephen Anthony fc0a8c91a8 Second pass at fixes for suggestions from clang-tidy. 2022-08-21 13:53:52 -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 10dd13d997 two small fixes 2022-08-17 20:32:49 +02:00
Thomas Jentzsch 4a491d21b9 added JPG loading support 2022-08-16 22:03:06 +02:00
Stephen Anthony 40f472b913 Fix compile error under g++. 2022-08-13 17:22:02 -02:30
Thomas Jentzsch 50db2abc50 some fixes and cleanup 2022-08-13 10:09:44 +02:00
Thomas Jentzsch d1412c31c8 Merge remote-tracking branch 'remotes/origin/feature/multiimages' 2022-08-12 20:45:28 +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
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 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
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 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 Anthony 4a2ed8f7d0 Refactored 'FilesystemNode' -> 'FSNode', in preparation for large overhaul of these classes. 2022-06-14 16:28:20 -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 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 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 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
Thomas Jentzsch bf78b34848 added properties for Indy 500 Menu hack 2022-06-03 09:09:41 +02:00