Commit Graph

3597 Commits

Author SHA1 Message Date
stephena 86c7b229f0 Final commit for 4.7 release, updating docs and some minor last-minute
code cleanup.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3263 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-25 20:49:21 +00:00
stephena 647aeb62b0 Fixed TIA score mode bug, as reported on AtariAge.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3261 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-25 17:28:49 +00:00
stephena 211454f699 Fixed minor warning detected in Visual Studio.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3260 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-24 22:09:35 +00:00
stephena dbd56ca03d Converted raw pointers to unique_ptr in PNGLibrary class.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3259 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-24 17:42:44 +00:00
stephena 755611a5c1 In my quest to remove all d'tors, converted many more raw pointers to
unique_ptr.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3258 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 22:56:16 +00:00
stephena 5e1e8e7abf Updated Xcode project file for 'CV+' bankswitch scheme addition.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3257 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 21:36:38 +00:00
stephena a00425bb78 Update VS project file for CV+ scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3256 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 18:27:34 +00:00
stephena e1e071c875 Oops, forgot to remove some debugging info from CV+ scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3255 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 18:17:23 +00:00
stephena ed766b5bb2 Cleanup some whitespace issues.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3254 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 18:16:09 +00:00
stephena 143b22baec Added 'CV+' bankswitching scheme.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3253 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-23 17:58:00 +00:00
stephena 821f22c205 Updated documentation to mention potential issues with WinXP, and that
WinXP support may be discontinued soon.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3252 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-22 22:21:25 +00:00
stephena b7cb83bffa Updated ROM properties for paddle games to properly use the MouseAxis
property for range information.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3251 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-22 22:10:55 +00:00
stephena b9d71634a7 Added ability to specify MouseAxis range from the UI, and send it to
the Paddles class to be actually used.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3250 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-18 18:33:45 +00:00
stephena a85debea63 Fixed bug in ROM launcher; hasConsole() would be true even when the console
is closed (since it's not deleted until the next console is created).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3249 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-18 16:03:22 +00:00
stephena e0676f2432 The properties database is now smarter, and automatically discards entries
if they are already present in the built-in data.  This eliminates a 'bug'
where entries were being saved to the external properties file that were
also present in the app itself.  The app still worked, but it bloated the
external file for no reason.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3248 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2016-01-16 00:13:52 +00:00
stephena a0536fb450 First pass at allowing a max range for paddle emulation when using
the mouse or digital input.  This will fix those ROMs that don't
use much of the range on a real paddle, and as such have a huge
deadzone in emulation.

For now, only the Paddle class is modified.  Still TODO is add the
ability to change this from the UI (per-ROM, obviously).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3247 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-30 23:57:54 +00:00
stephena a263eb0c6b Removed obsolete file from the OSX build.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3246 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-30 20:37:47 +00:00
stephena a79af3717e Some minor updates to fix the Windows build from the latest round of changes.
Specifically, the stack class now takes a lambda to apply to all elements it
contains, rather than allowing direct access to each element.

git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3245 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-30 20:26:56 +00:00
stephena 5ec561a191 Fixed the last remaining C++11 "= default" for d'tors.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3244 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-30 19:07:11 +00:00
stephena e4c1f627e1 Added C++11 "= default" for d'tors in the src/gui classes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3243 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-29 23:45:21 +00:00
stephena f279eac86f Updated C++11 "= default" for destructors in src/debugger classes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3242 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-29 22:39:08 +00:00
stephena ac98c97bb5 Enabled C++11 "= default" for destructors in the src/cheat and src/common
classes.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3241 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-29 21:41:53 +00:00
stephena 2aec7bc1b1 Converted classes in src/emucore to properly use C++11 '= default'
for destructors.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3240 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-29 21:28:10 +00:00
stephena 8f2d3a6cbb Updated copyright to 2016, even though it's a few days early.
To anyone reading this, Merry (belated) Christmas and Happy New Year!


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3239 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-29 19:22:46 +00:00
stephena a7f4b76b3b Modified Stack class to use std::array instead of a raw array pointer.
This allows to remove assert statements (and instead use exceptions),
as well as fix a bug issued by Coverity.

Fix final bug reported by Coverity in ComboDialog class, where array
contents weren't being initialized.  This isn't really a bug at all,
since the lambda takes care of initialization, but Coverity doesn't
support lambdas yet.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3238 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-11 15:24:29 +00:00
stephena fd8eb1aa1d Fixed more Coverity-reported errors. We're now down to a 0.02 defect
rate (0.5 or so is the average for a codebase of this size)!


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3237 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-10 16:34:24 +00:00
stephena 336536745f More Coverity fixes.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3236 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-09 17:08:52 +00:00
stephena 8b7043d74a More bugfixes as indicated by Coverity.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3235 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-06 18:12:17 +00:00
stephena 9e23bc3580 Some bugs indicated by running Stella through Coverity. Note that many
of these aren't actually bugs per-se, but are to follow good programming
practices.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3234 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-05 01:30:17 +00:00
stephena 47911eff21 Some cleanup of redundant spacing. Now that I'm free for basically the next month,
I'll be starting work on Stella again.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3233 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-12-04 19:08:14 +00:00
stephena bfdaeadd55 Updated various files for next point release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3231 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-10-28 19:52:12 +00:00
stephena 3517259982 Fixed bug in reading paddle input from Stelladaptor; I was a little too
eager in code cleanup from 4.6.1.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3229 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-10-28 15:27:34 +00:00
stephena 23cfae3025 Fixed error in MDM scheme; an IF condition was always true.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3228 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-10-12 15:49:55 +00:00
stephena d36a3ce44b Updated files for 4.6.6 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3226 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-10-11 15:19:16 +00:00
stephena c4b94f008d Fixed MDM bankswitch bug; it was only looking for addresses below $C00,
and ignoring mirrored addresses.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3225 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-10-11 14:51:50 +00:00
stephena f5eca188ce And the process starts again.
Added shortcut key to toggle TV scanline jittering, and have it default
to off.  I'd really like to enable it again eventually, or perhaps use some
of the code in the case where scanline jumps are *really* large (since it
seems to emulate the output for every TV I've ever seen).

Bumped version #.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3221 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-29 21:14:12 +00:00
stephena f367b3a9a6 Final commit for 4.6.5 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3219 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-25 23:08:08 +00:00
stephena 573570c1c8 Fairly large overhaul of the OSX SDLmain.m file, removing redundant
code that was used for SDL 1.2, etc.  It is now much easier to
understand and modify (but I *still* hate Objective-C).


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3217 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-25 22:45:44 +00:00
stephena eb8e1666c3 Updated OSX build files for Xcode 7, eliminating all warnings.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3216 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-25 20:42:33 +00:00
stephena 55a37262e0 Updated Windows build script so that the Stella icon is shown in the Control Panel remove software window.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3215 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-24 22:52:41 +00:00
stephena 8c9c9e97ee Bumped 4.6.5 release date to Friday, September 25.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3213 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-22 17:53:28 +00:00
stephena 75acbe8aac Getting ready for the 4.6.5 release.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3212 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-21 13:27:25 +00:00
stephena 75c189f38b Updated VS project to remove warning that always used to appear at the end of a compile.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3211 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-20 21:55:35 +00:00
stephena 82f413cfe5 Enable a few extra compiler checks in the Linux build script,
and fix a few warnings that gcc caught and clang missed.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3210 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-20 01:13:53 +00:00
stephena ef5f1bad4d More clang warning cleanups.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3209 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-15 15:50:25 +00:00
stephena 75893a6a3e Fixed some more C 'old-style-cast' code.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3208 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-15 12:39:07 +00:00
stephena ffc9ac65a7 A few more fixes wrt the recent pruning for Visual Studio.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3207 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-14 22:18:55 +00:00
stephena 2ccebc9720 Oops, a little too much pruning, detected by compiling in OSX.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3206 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-14 21:44:24 +00:00
stephena d83d91570e More clang warnings fixed; these apply mostly to 'old-style-C' casts.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3205 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-14 21:33:50 +00:00
stephena 687b638437 Second pass at cleaning up warnings generated by -Weverything in clang.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@3204 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
2015-09-14 18:14:00 +00:00