Commit Graph

5413 Commits

Author SHA1 Message Date
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
Stephen Anthony 2215b2dee6 Add file/dir locations to logging. 2019-08-30 22:34:11 -02:30
Thomas Jentzsch 3112c4deb0 improve 'break' command output 2019-08-27 23:27:28 +02:00
Thomas Jentzsch 5dbb5b8957 return sorted list of breakpoints 2019-08-26 10:11:41 +02:00
Thomas Jentzsch d35aaa3252 refine 'break' command (using ff instead of -1, which indicates an invalid argument) 2019-08-26 09:44:30 +02:00
Thomas Jentzsch 98944cc2d1 update git ignore file for VS 2019-08-24 14:35:54 +02:00
Thomas Jentzsch 2f8fa198d3 Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-24 14:12:32 +02:00
Thomas Jentzsch 696ae4ae3a forgot the new files, oops again! 2019-08-24 14:12:07 +02:00
Stephen Anthony 0c6e6602fc Fix build file for Linux. 2019-08-24 09:17:24 -02:30
Thomas Jentzsch bd3545bfff small fix `listbreaks` for single bank ROMs 2019-08-24 12:21:17 +02:00
Thomas Jentzsch 5042c4635f Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-24 12:00:04 +02:00
Thomas Jentzsch f4a0c38e59 reworked breakpoints to use hash map (and % $1fff addresses) 2019-08-24 11:59:31 +02:00
Stephen Anthony 2540d0d803 Entering an uppercase char (ie, hold Shift) on the first character in
file listings now selects among directories; use lowercase to select among
files (fixes #160).

Refactored relevant code from ListWidget to FileListWidget, where it more
properly belongs.

Updates to docs (new info, typo's, etc).
2019-08-23 22:08:06 -02:30
Thomas Jentzsch 7ee9573646 fixed some breakpoint issues regarding #512 2019-08-21 10:23:54 +02:00
Stephen Anthony 69d807a85b Update Xcode project for removed file. 2019-08-20 21:15:19 -02:30
Christian Speckner 09bd0f817e Take power-on state into account during autodetection. 2019-08-20 23:44:30 +02:00
Christian Speckner d105a833b6 Revert "pretty hacked and ugly fix for #501"
This reverts commit 0215cda991.
2019-08-20 23:44:19 +02:00
Stephen Anthony 49bf1ebaa9 Make launcher minimum size in UI match what is used in the actual code. 2019-08-20 13:21:41 -02:30
Thomas Jentzsch 9aecdf3873 improve breakpoint calculation, only consider low 13 bit for PC 2019-08-20 15:33:41 +02:00
Thomas Jentzsch 4232d964a3 add some more keypad keys support 2019-08-20 12:09:31 +02:00
Thomas Jentzsch b1f841cccc add commands from 'exec' script to prompt history 2019-08-20 10:27:42 +02:00
Thomas Jentzsch 0049a968bb update change log 2019-08-20 09:08:36 +02:00
Thomas Jentzsch c3f379b45d make breakpoints consider banks (fixes #512) 2019-08-19 22:12:49 +02:00
Thomas Jentzsch 0215cda991 pretty hacked and ugly fix for #501 2019-08-19 09:33:21 +02:00
Stephen Anthony c10b467de1 Updated files for upcoming release (whenever that may be).
Added info from 6.0.1 branch.
2019-08-18 19:09:18 -02:30
Thomas Jentzsch 8a9fec6a96 Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-18 23:11:17 +02:00
Thomas Jentzsch c2dbbca858 Ha, found a way to detect analog vs digital axis input 2019-08-18 23:10:51 +02:00
Christian Speckner 06f452e7bd Remove unecessary cwd logic. 2019-08-18 22:10:24 +02:00