Commit Graph

4719 Commits

Author SHA1 Message Date
Stephen Anthony e625a2f8ab Added C++ version of ZipHandler.
- code is almost completely rewritten, making use of proper C++11
- fixes warning in VS compile about unsafe 'strncpy' function
2018-09-04 17:15:01 -02:30
Stephen Anthony b0aba8ae26 Fix crash when opening ZIP files containing errors (including zero-byte files).
This fixes a regression in behaviour from 5.1.
2018-09-04 11:23:10 -02:30
Stephen Anthony 4edd626a3a Ignore '__MACOSX' directories stored in ZIP files.
Note that this seems to duplicate functionality in ZipHandler; that code is in the process of being rewritten.
2018-09-04 10:17:55 -02:30
thrust26 a780e9542e spelling 2018-09-02 22:03:53 +02:00
thrust26 f9260dc10b and another screenshot 2018-09-02 21:59:59 +02:00
thrust26 d194de080d one more screenshot 2018-09-02 19:56:38 +02:00
thrust26 eee99a43dc Revert "fixed merge error"
This reverts commit 00544ddbe9.
2018-09-02 18:41:52 +02:00
thrust26 00544ddbe9 fixed merge error 2018-09-02 17:53:35 +02:00
thrust26 f607fab9bb Merge branch 'release/6.0' of https://github.com/stella-emu/stella into release/6.0 2018-09-02 17:48:02 +02:00
thrust26 2130498727 updated debugger screenshots 2018-09-02 17:47:26 +02:00
Christian Speckner 28f8dcc312 Get rid of strlen_s and strnlen_s, don't drive audio if sound is disabled. 2018-09-01 23:12:52 +02:00
thrust26 492596011a fixed two warnings 2018-09-01 14:20:30 +02:00
thrust26 2c8a567810 typo 2018-09-01 12:08:14 +02:00
thrust26 8ee2c56980 updated docs 2018-09-01 09:30:14 +02:00
Stephen Anthony fe0d29a795 Fix ZIP handling wrt what is a valid filename (take new extensions into account). 2018-08-31 23:29:19 -02:30
Stephen Anthony a84f76fd5f Documentation updates. 2018-08-31 22:50:25 -02:30
Stephen Anthony dce16d6f7c Make all Bankswitch types detectable with specific ROM filename extensions.
Use a map instead of linear search in Bankswitch class.
2018-08-31 22:04:31 -02:30
Stephen Anthony 09b3d980f3 Fixed 'stuck' notes when changing video modes.
This is most apparent in OSX, where toggling windowed/fullscreen mode can sometimes take up to one second,
and any sounds playing from the ROM become stuck until the operation completes.
Also present on other systems to some extent.
Sound is now muted until the operation is complete.
2018-08-31 20:52:56 -02:30
Stephen Anthony baadecc866 Update VS project file for recent classes. 2018-08-31 20:19:13 -02:30
Stephen Anthony 01a7e71faf Updated Xcode project file for recent classes. 2018-08-31 20:07:56 -02:30
Stephen Anthony 404ab8ffcc Minor optimization in settings file parsing; don't copy a few strings. 2018-08-31 16:32:12 -02:30
Stephen Anthony 72f6096ba8 Add to changelog for the last commit on settings parsing bug. 2018-08-31 16:21:07 -02:30
Stephen Anthony 6b76031234 Fix error in parsing settings file for 'empty' values. 2018-08-31 16:15:38 -02:30
Stephen Anthony 020d8b18c2 Remove ellipses from LauncherDialog options that don't lead to a dialog. 2018-08-31 15:46:33 -02:30
Stephen Anthony 65d23b4a6e Removed 'launcherexts' and associated LauncherFilterDialog.
Introduced 'launcherroms' argument, which specifies to show only ROMs or all files in the launcher.
This functionality is tied to a RMB context menu in the launcher; eventually we may add a checkbox to the UI for it.
2018-08-31 13:51:42 -02:30
thrust26 70ec216d1a updated VS project file 2018-08-31 14:46:00 +02:00
Stephen Anthony f098636965 Fairly large restructuring of the 'BSType' code
- class has been renamed to 'Bankswitch'
- it is now a proper (static) class with namespacing

'Bankswitch' now contains all logic for determing what a proper ROM filename is.
So some functions have moved from LauncherFilterDialog to here (that class will be removed soon).

In the process, implemented issue 261 (file extension determines BS type to use).
2018-08-31 09:18:35 -02:30
Stephen Anthony 731a76e1a9 Make dynamically resizeable dialogs take 95% of available space. 2018-08-29 13:36:01 -02:30
thrust26 6099530ca4 Merge branch 'release/6.0' of https://github.com/stella-emu/stella into release/6.0 2018-08-29 16:41:22 +02:00
thrust26 3b00fe45cd Revert "aspect ration now affects height instead of width"
This reverts commit 0b61a71e58.
2018-08-29 16:39:18 +02:00
Stephen Anthony a2d7ac188b Dynamic dialogs are now correctly sized according to the current window size.
- This fixes issue 367, and allows Logger and Browser dialogs to be displayed
2018-08-29 11:40:21 -02:30
thrust26 0b61a71e58 aspect ration now affects height instead of width
fixes #368
2018-08-29 16:01:01 +02:00
thrust26 dc630b4dd6 Revert "fixed #367"
This reverts commit 79fd588f8a.
2018-08-29 15:37:10 +02:00
thrust26 e9a6deee70 reversed aspect ratio settings for NTSC50, PAL60 and SECAM60 2018-08-29 15:28:24 +02:00
thrust26 7dd433a116 fixed size of `BrowserDialog` (may be refactored) 2018-08-29 15:05:36 +02:00
thrust26 79fd588f8a fixed #367
made logger dialog slightly smaller (95%)
2018-08-29 14:50:31 +02:00
thrust26 5365fc5c5e removed (*) in AudioDialog and screenshots 2018-08-29 14:04:16 +02:00
Stephen Anthony fb07d250d9 Simplify AudioSettings class a little.
- Use only one c'tor, which fixes some warnings from Coverity
- Fix large compile times when AudioSettings class is changed
2018-08-29 09:10:55 -02:30
Stephen Anthony dc4fc5c8d2 More fixes from cppcheck. 2018-08-29 08:55:07 -02:30
Stephen Anthony 6093bf8375 Fix signed/unsigned conversion warning in VS. 2018-08-28 22:32:56 -02:30
Stephen Anthony 46b07d14b5 Fixes for warnings from Coverity. 2018-08-28 22:13:02 -02:30
Stephen Anthony 0f8dc1f2bb Yet more fixes for warnings from cppcheck. 2018-08-28 17:00:00 -02:30
Stephen Anthony 7e4dc350f0 More fixes for suggestions from cppcheck. 2018-08-28 16:19:50 -02:30
Stephen Anthony 558b071fbb Some more fixes for warnings from cppcheck. 2018-08-28 14:21:01 -02:30
Stephen Anthony e5fb010631 Allow sound sample rate/fragment size to change dynamically.
- Move sound debugging output to logging facilities
- This should fix issue #348, but more testing is required

Bumped version # for beta release.
2018-08-28 11:01:52 -02:30
Stephen Anthony 13b9bbe5a4 More M6502 micro-optimizations. 2018-08-27 13:47:22 -02:30
Stephen Anthony c901f282bb A few micro-optimizations in the 6502 emulation (found by cppcheck). 2018-08-27 12:17:22 -02:30
Stephen Anthony 8c7488914d Fix some warnings generated by cppcheck (a C++ linter). 2018-08-27 11:09:03 -02:30
Stephen Anthony 409fa49aae Removed WIP experimental code that causes a crash with Ctrl-c/v. 2018-08-26 09:12:46 -02:30
Christian Speckner eacfb41584 Remove debug code. 2018-08-26 11:14:18 +02:00