Commit Graph

5690 Commits

Author SHA1 Message Date
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 dceb1da632 upate .gitignore 2019-09-08 17:46:11 +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 090fc4a316 updated doc, closes #498 2019-09-01 19:18:38 +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 0aedc185e1 Update debugger doc for removal of 'cfgdir'. 2019-08-30 23:43:27 -02:30
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