Commit Graph

5745 Commits

Author SHA1 Message Date
Christian Speckner 79356ac8c4 Fix attributes -> blitter works. 2019-12-10 23:23:46 +01:00
Christian Speckner fa28fe82d3 Factor out rendering / texture juggling from surface handling. Defuct. 2019-12-10 23:23:46 +01:00
Christian Speckner 6d80f7c354 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 8c74a73f37 Visual Studio doesn't support std::getenv, so we use Windows-specific
code.
2019-12-10 17:56:12 -03:30
Christian Speckner 4f396efb9a Comments. 2019-12-08 21:02:29 +01:00
Christian Speckner 34e0b4bcc7 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 8d68aaece1 Fix segfault. 2019-12-08 21:01:00 +01:00
Stephen Anthony 1f3ca56ee2 Added 'Mean Santa' ROM properties to the database. 2019-12-07 20:18:05 -03:30
Stephen Anthony 8bf39568ab 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 f3e2c401c0 Dead code elimination found by Coverity. 2019-11-30 17:24:19 -03:30
Stephen Anthony 8757e1b1ca Fix coverity complaining about unrestricted use of getenv. 2019-11-29 18:06:43 -03:30
thrust26 df21ade60e 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 b52dae4176 Convert some raw arrays to std::array.
Some fixes for warnings from Coverity.
2019-11-14 20:12:45 -03:30
Stephen Anthony b6e2a591f1 libretro: Fix Linux/macOS builds. 2019-11-02 19:50:41 -02:30
thrust26 8bcfc2b689 improve FC detection and bank switching 2019-11-02 19:23:38 +01:00
Stephen Anthony f77e891c28 Updated xcode project for recent class additions. 2019-11-02 11:27:18 -02:30
Stephen Anthony f974c07daa Fix issues with VS project, minor warning from clang, and autoformat
code.
2019-11-02 11:03:15 -02:30
Stephen Anthony 30eeb9d1be libretro: Fix Windows build for recent class addition. 2019-11-02 10:53:57 -02:30
thrust26 84e0e67a07 add missing files 2019-11-02 13:23:23 +01:00
thrust26 66456e0418 adds FC bankswitching for Amiga's Power Play Arcade cart #1 2019-11-02 12:23:03 +01:00
thrust26 ddfc065c4b display debugger cart type info disabled
align further options to cart type info
2019-11-02 11:57:50 +01:00
Stephen Anthony 85362e30fd Fix segfault on shutdown in certain cases (mostly if OSystem creation failed). 2019-10-29 12:13:51 -02:30
Stephen Anthony 58fc631c2f Updated master with 6.0.2 changelog. 2019-10-16 22:30:37 -02:30
thrust26 36322474ed updated WD bankswitching (incl. detection) 2019-10-16 22:05:33 +02:00
Stephen Anthony 66f69a7177 Updated properties database for imminent release of a highly anticipated prototype. 2019-10-11 12:30:06 -02:30
Stephen Anthony d063929522 Fix typo. 2019-10-07 18:24:03 -02:30
Stephen Anthony 3594931701 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 4a39181934 Eliminate conversion to pointer when it's not necessary. 2019-09-27 22:50:24 -02:30
Stephen Anthony 52e3bab745 One final fix for clang warning. 2019-09-24 10:36:32 -02:30
Stephen Anthony 0353e49fe1 Fixed minor warnings in Windows. 2019-09-23 20:18:54 -02:30
Stephen Anthony 84428a7bbc A few more std::array updates. 2019-09-22 20:42:46 -02:30
Stephen Anthony 7271438980 Some more std::array and size_t updates. 2019-09-18 10:27:32 -02:30
Thomas Jentzsch 177311b698 replace some odd decimal numbers with hexadecimals 2019-09-17 09:38:47 +02:00
Stephen Anthony 3941f1894e Fixed remaining size_t vs. uInt32 issues in Windows. 2019-09-16 21:36:30 -02:30
Stephen Anthony 4a25a72814 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 020c18e74b Add missing include; hopefully fixes compile error. 2019-09-16 20:14:35 -02:30
Stephen Anthony 9958ad040e 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 3a0cb028d3 Fixed minor warnings from clang. 2019-09-15 19:24:28 -02:30
thrust26 d7b4152bd9 add option to break on RAM writes to read ports 2019-09-15 17:04:25 +02:00
thrust26 8e43d96b38 more types for partial fix for issue #537 (RAM writes to read port) 2019-09-15 11:52:43 +02:00
thrust26 cf826148c1 fix for RAM writes to read port commit (offsets reversed) 2019-09-15 11:36:46 +02:00
Yoshi Sugawara af0c01eba7 Libretro: support building using tvOS SDK 2019-09-14 10:09:58 -02:30
Thomas Jentzsch 77c00f0f68 partial fix for issue #537 (RAM writes to read port) 2019-09-12 11:08:26 +02:00
thrust26 4e8d7a2d5b upate .gitignore 2019-09-08 17:46:11 +02:00
thrust26 87f43e23b2 some fixes for last commit 2019-09-07 14:36:13 +02:00
thrust26 3ff6a95314 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 2f24bcbb4f Fix MacOS build. 2019-09-04 15:54:17 +02:00
Thomas Jentzsch 5ff08881ab updated doc, closes #498 2019-09-01 19:18:38 +02:00
Thomas Jentzsch 3e59f5d5f4 fix left and right paddles defaults 2019-09-01 11:04:51 +02:00
Thomas Jentzsch 18ac612647 Revert "prevent menu navigation with analog input"
This reverts commit cce980a4d4.
(breaks editing mappings for analog devices)
2019-09-01 10:44:48 +02:00