Commit Graph

5151 Commits

Author SHA1 Message Date
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
Thomas Jentzsch 2c76803652 updated Changes.txt and WhatsNewDialog 2022-03-06 11:57:22 +01:00
eds-collabora 6ab680cf07
Paddle mode enhancements (#861)
* Separate control precedence for paddles A and B

Previously, the paddle pair was treated as a single unit as far as
event overrides were concerned, so an analog input on paddle B would
prevent a mouse or even another digital controller from controlling
paddle A.

This commit separates out paddle A and B as far as event handling is
concerned. The same steps are applied, but now events affecting paddle
A will not preempt events of other types for paddle B from being
tested, and vice versa.

* Paddle mode enhancements

Map paddles to distinct controllers. For two player games, having
both players share a single controller isn't ideal. Instead, put
- Left A -> joystick 0
- Left B -> joystick 1
- Right A -> joystick 2
- Right B -> joystick 3
2022-03-06 11:23:31 +01:00
Stephen Anthony 74b9eb2f73 Fix lockup on ZIP files containing errors (fixes #871). 2022-03-05 18:47:12 -03:30
Stephen Anthony 24e491bcde Update sqlite to latest release. 2022-03-01 17:07:33 -03:30
Thomas Jentzsch 633def0531 reapply color loss when switching TV format (fixes #880) 2022-02-28 09:32:41 +01:00
Thomas Jentzsch 95eb0966cd Merge branch 'master' of https://github.com/stella-emu/stella 2022-02-26 19:04:28 +01:00
Thomas Jentzsch 12e1b3c04f updated CDFJ+ driver description 2022-02-26 19:04:15 +01:00
Stephen Anthony d482d671c4 Eliminate redundant code. 2022-02-26 13:23:31 -03:30
Stephen Anthony 1920d761ea Minor update: convert a define to C++ constexpr. 2022-02-24 16:55:05 -03:30
Darrell Spice, Jr 37180e18df
Fixed CDFJ+ issue if the first byte of the cartridge contained a value of FF_OFFSET thru FF_OFFSET + $23 (#879)
Updated Thumbulator's debug mode to allow run-time updating of the FF_OFFSET value.
2022-02-24 07:59:29 +01:00
Thomas Jentzsch d658d72871 fixed read access to write port if write port uses upper address range (fixes #878) 2022-02-23 21:53:32 +01:00
Thomas Jentzsch 81556892fa Merge branch 'master' of https://github.com/stella-emu/stella 2022-02-23 21:21:18 +01:00
Thomas Jentzsch 7e9837b576 truncated state files (fixes #875) 2022-02-23 21:21:01 +01:00
Stephen Anthony d4ac130d8e Minor fixes to CartCDF; use C++ constexpr instead of C-style defines. 2022-02-23 15:19:37 -03:30
Thomas Jentzsch c9a858a865 minor fix for Global Hotkeys and Stelladaptors 2022-02-23 19:23:49 +01:00
Darrell Spice, Jr 7b026e6ad1
Updated CDFJ+ with support for LDX # and LDY # fast fetchers, as well as a fast fetcher offset value. Also updates to the CDF Debugger. (#877) 2022-02-22 08:56:47 +01:00
Thomas Jentzsch 313b6c6c98 fixed patching ZP-RAM code (fixes #874) 2022-02-17 11:56:53 +01:00
Thomas Jentzsch e537eaffd5 enhanced launcher context menu with direct Game properties dialog link 2022-02-16 21:54:20 +01:00
Thomas Jentzsch 5b5eccf28f added ARM chip type auto detection (resolves #873) 2022-02-15 12:33:46 +01:00
Stephen Anthony f7895e53b8 Fix minor warnings. 2022-02-08 20:26:21 -03:30