Commit Graph

3831 Commits

Author SHA1 Message Date
Stephen Anthony d9143a7d65 Allow ROMs < 64 bytes (Stella's internal page size) to work correctly. Fixes #564. 2020-01-27 12:16:33 -03:30
thrust26 6a0b0096dd fix #563 (double mapping) 2020-01-26 19:58:29 +01:00
thrust26 d2bb807ab8 block power-on options dialog when not a valid ROM is selected 2020-01-26 08:53:27 +01:00
Stephen Anthony 500d62fb25 Make selecting the previous directory by shortcut and clicking "[..]" follow the same code path.
This allows selection of previous selected item to work correctly.
2020-01-25 20:24:23 -03:30
Stephen Anthony da8333321a Fix issue #562. 2020-01-25 20:13:20 -03:30
thrust26 af22833e73 fix duplicate usage of button 2 2020-01-25 23:33:05 +01:00
Stephen Anthony ee2f55015a Fix Pick 'n' Pile properties; it misdetects as NTSC. 2020-01-25 18:19:06 -03:30
Stephen Anthony eaae879d9b Optimize state save for Audio classes; save byte instead of integer. 2020-01-25 18:02:07 -03:30
Stephen Anthony c95acefffd Use regular expressions to match console type in ROM filename. 2020-01-25 17:53:32 -03:30
Christian Speckner 11f4846f21 Double buffer source texture, optimize intermediate blitting. 2020-01-25 19:55:12 +00:00
thrust26 ec6348894a make automatic TM saving load the states on enter too 2020-01-25 20:06:04 +01:00
thrust26 7e90323d4b adapt debugger UI to new display heights 2020-01-25 13:56:46 +01:00
thrust26 d6fdb8de79 adjust ystart for NTSC and PAL
adjust TIA sizes in debugger
2020-01-25 10:28:16 +01:00
thrust26 86018c4511 add display format auto-detection from filename (resolves #561) 2020-01-24 11:30:46 +01:00
Stephen Anthony be4a19b77d Fix crash in Stack::reverse when size is less than 2. 2020-01-23 20:45:59 -03:30
Stephen Anthony 00aaf5ca0b Restore 'lastrom' functionality; partially broken in a previous refactoring. 2020-01-22 13:53:17 -03:30
Stephen Anthony 5f62012caf Bumped state version for changes to FrameManager. 2020-01-21 21:25:14 -03:30
Christian Speckner 56f58b91fc Fix load / save in FrameManager. 2020-01-21 22:54:13 +01:00
Christian Speckner 157c83d975 Only invalidate TIA surface when vcenter adjust has been changed. 2020-01-21 22:51:13 +01:00
thrust26 b5fa5f462e Merge branch 'master' of https://github.com/stella-emu/stella 2020-01-21 21:08:17 +01:00
thrust26 ab8300fd20 Update TM doc 2020-01-21 21:08:01 +01:00
Stephen Anthony 850f2d54a3 Make debugging bankswitch selection easier. 2020-01-21 12:20:48 -03:30
thrust26 40c53ab7d1 fix exiting game in MinUICommandDialog 2020-01-20 19:05:43 +01:00
thrust26 a6552372f1 fix exiting command menu
update docs
2020-01-20 19:02:55 +01:00
thrust26 ba4223bdbf add hotkey to decrease current state slot 2020-01-20 12:11:26 +01:00
thrust26 d8b9ee8169 oops 2020-01-19 21:29:51 +01:00
thrust26 7cb168fa67 adapt exit popup changes for other platforms 2020-01-19 21:27:09 +01:00
thrust26 487fc8017c add missing files 2020-01-19 20:59:49 +01:00
thrust26 f93adc2e7a initial commit before refactoring 2020-01-19 15:45:32 +01:00
Stephen Anthony e200d2d8d1 A little too eager with code pruning. 2020-01-18 21:17:39 -03:30
thrust26 6b843aaf92 add autoslot setting to UI
update doc for autoslot and write to read port breaks
2020-01-18 11:08:00 +01:00
thrust26 69839d6210 update docs for VideoDialog 2020-01-17 18:46:40 +01:00
Stephen Anthony 4eb29916d3 Fixed incorrect array initialization. 2020-01-14 08:49:32 -03:30
thrust26 cbd8b9e02c Merge branch 'master' of https://github.com/stella-emu/stella 2020-01-14 11:24:00 +01:00
thrust26 ab008212cb fix #560 2020-01-14 11:23:39 +01:00
Stephen Anthony 8ac6ac7387 Fix minor warning, and update state file format for recent changes. 2020-01-13 17:22:16 -03:30
thrust26 4a07c12700 add v-center to FrameManager::load/save() 2020-01-13 21:39:09 +01:00
thrust26 344e7d7abb refactor v-size 2020-01-13 21:13:55 +01:00
Christian Speckner 38b4cbe3ba VideoDialog: don't crash if Console is not allocated. 2020-01-13 20:47:50 +01:00
Christian Speckner cad4c627f5 Cleanup, adjustscanlines is now vsizeadjust. 2020-01-13 20:27:05 +01:00
Christian Speckner bb14b775b6 Change adjustscanlines parameterization to -5% .. 5%, hook uo hotkey. 2020-01-13 00:06:23 +01:00
thrust26 e1eb4bacf8 reorder events
rename scanline adjust in input dialog
fix v-center input naming
2020-01-12 12:42:20 +01:00
thrust26 6a56746f90 reverse and limit vcenter 2020-01-11 20:28:55 +01:00
thrust26 3e9ebc7a42 force sign for V-Center display 2020-01-11 15:46:53 +01:00
thrust26 17f409bb95 aligned SliderWidget parameter default to other defaults 2020-01-11 13:02:51 +01:00
thrust26 7679f98069 add force sign option to SliderWidget 2020-01-11 11:59:09 +01:00
thrust26 292cb817fe adjust yStart 2020-01-11 09:57:45 +01:00
thrust26 0ce7fe52b3 fix ControllerDetector.cxx paddles array size
adjust yStart
2020-01-11 09:57:18 +01:00
Stephen Anthony bd49da07c6 Add hotkey to change scanline adjustment. For now, this is only a stub. 2020-01-09 10:36:00 -03:30
Stephen Anthony a1ea34bbb0 Bump state version number, otherwise we get crashes on older state saves. 2020-01-07 18:12:36 -03:30
Christian Speckner 82878cc2c8 Merge branch 'rework-aspect' 2020-01-07 21:15:53 +01:00
Christian Speckner d2c78b3295 Clear TIA image when chaning scanline count. 2020-01-07 21:15:24 +01:00
Christian Speckner 3dfa00f963 Clamp height and ystart to semi-sensible values to avoid memory corruption. 2020-01-07 20:48:05 +01:00
twinaphex 9d9f47dd35 (Libretro/MSVC 2017) Buildfix 2020-01-07 09:46:52 -03:30
thrust26 96f3d8a15a define light gun offsets using game's md5 sum 2020-01-06 20:10:35 +01:00
Christian Speckner 412ca5069e Bug fixing spree -> scanline count works as expected. 2020-01-06 00:15:20 +01:00
thrust26 92c4313f56 make minor update to VS project file 2020-01-05 23:52:37 +01:00
thrust26 e8918531be reorganize paths for windows code generation 2020-01-05 23:35:42 +01:00
Christian Speckner fe8357cc74 Wire up new scanline count logic. 2020-01-05 23:14:44 +01:00
Christian Speckner b78780c1cb Settings: remove aspect in favor of scanlines adjust. 2020-01-05 00:36:10 +01:00
Stephen Anthony 6234eca464 Updated some ROM properties. 2020-01-01 13:05:55 -03:30
thrust26 c805f03b02 fix crash when light gun game is started from command line 2020-01-01 15:27:42 +01:00
thrust26 32654c6a10 improve paddle detection (Drone Wars) 2020-01-01 12:11:17 +01:00
Stephen Anthony 9c08c37513 Fix typo causing a crash. 2019-12-31 13:58:01 -03:30
Stephen Anthony 7d23029338 Updated copyright to 2020. Happy New Year to anyone reading this! 2019-12-31 13:48:56 -03:30
thrust26 f5dcd911ed rename light gun test ROM in properties 2019-12-31 12:41:01 +01:00
thrust26 471fc44380 add Lightgun class to Libretro Stella.vcxproj 2019-12-31 11:18:05 +01:00
thrust26 4fb87f4d62 add Lightgun class to Libretto Makefile.common 2019-12-31 11:15:13 +01:00
Thomas Jentzsch 81767a83e5 replace magic number for Lightgun 2019-12-31 00:25:24 +01:00
Stephen Anthony 54ed68b652 Added Lightgun class to Xcode project. 2019-12-30 19:00:49 -03:30
thrust26 aa3402c10d Merge remote-tracking branch 'remotes/origin/feature-lightgun' 2019-12-30 23:08:47 +01:00
Stephen Anthony a9050185c2 Add ROM properties from Omegamatrix of AtariAge. 2019-12-30 18:32:21 -03:30
thrust26 83b3aa36f2 code cleanup
added Light Gun to docs
2019-12-30 23:00:49 +01:00
thrust26 91c8d9f1b2 apply screen scaling to lightgun controller 2019-12-30 22:37:50 +01:00
thrust26 9626c6d2c6 get lightgun working preliminary 2019-12-30 17:27:28 +01:00
thrust26 aa2c41f148 Merge branch 'master' of https://github.com/stella-emu/stella into feature-lightgun 2019-12-30 09:48:04 +01:00
thrust26 df1020178a add missing files 2019-12-30 09:47:31 +01:00
thrust26 f9646b4a39 make user aware of grab mouse limitations 2019-12-30 09:46:46 +01:00
thrust26 c350ebca89 initial work on lightgun 2019-12-30 09:11:46 +01:00
Stephen Anthony d35d3c1a35 A few cleanups missed in the previous commits. 2019-12-29 21:08:50 -03:30
Stephen Anthony fdc6848a3e Fix typo that caused entering the debugger to crash. 2019-12-29 20:22:05 -03:30
Stephen Anthony efc48fba28 Final updates for default initialization.
The debugger is crashing, so now the debugging begins :)
2019-12-29 20:12:37 -03:30
Stephen Anthony 6445407f17 More default initialization updates, in the process making c'tors smaller/non-existent.
I've already found a few potential bugs where instance variables weren't being initialized at all.
2019-12-29 18:36:56 -03:30
Stephen Anthony ac60dcc160 libretro: Fix bug with using defaulted vs. user-defined c'tor.
I think this is a compiler issue with that build environment, since this is legal C++11 code.
2019-12-29 10:02:54 -03:30
thrust26 93cd73b163 fix hat mapping (see #552) 2019-12-29 10:51:00 +01:00
Stephen Anthony 1fe0dd34d6 Fix size_t issue. 2019-12-28 22:44:26 -03:30
Stephen Anthony 62a0049e5f More default initialization updates. 2019-12-28 22:36:40 -03:30
Stephen Anthony cf9bd9dd10 First pass at moving to default member initialization.
This fixes potential issues with forgetting to initialize in c'tors.
2019-12-28 21:14:52 -03:30
Stephen Anthony c10cce3134 Use runtime_error exceptions everywhere in ZipHandler. 2019-12-28 19:01:39 -03:30
Stephen Anthony 0f81926752 Convert PNGLibrary to use vector instead of raw pointers.
This is just as efficient, but also safer.
2019-12-28 17:44:50 -03:30
Stephen Anthony 7b2c8c7852 And yet more std::array conversions. Also a fix for overlaid UI message not being displayed. 2019-12-28 15:46:38 -03:30
Stephen Anthony e1341e2aff A few fixes I missed in the last commits. 2019-12-28 15:01:28 -03:30
Stephen Anthony 48674975e8 libretro: Fix fallout from latest changes. 2019-12-28 00:50:05 -03:30
Stephen Anthony ed389d7d27 And yet more fixes for warnings from clang-tidy. 2019-12-28 00:45:09 -03:30
Stephen Anthony 79fbfd3da4 Activate changes from stella.pro. 2019-12-27 23:08:03 -03:30
Stephen Anthony 3b3087061b Switch to using size_t for all file access.
Note that we'll never actually need this, but I got tired of constantly casting all over the place.
2019-12-27 21:05:38 -03:30
Stephen Anthony 02700160ac Fix for warnings from Visual Studio. 2019-12-27 20:20:05 -03:30
Stephen Anthony f195b36baa More conversions of C-style to std::array.
That's it for a little while; getting tired now ...
2019-12-27 19:22:09 -03:30
Stephen Anthony 3250fa4f5d Updated Xcode project for addition of PhosphorHandler class. 2019-12-26 20:47:01 -03:30
Stephen Anthony f3d3bb22dd libretro: Updated VS project file for class addition. 2019-12-26 20:39:53 -03:30
Stephen Anthony a468201745 Updated Visual Studio for addition of PhosphorHandler class. 2019-12-26 20:37:45 -03:30
Stephen Anthony 43fe10ac9d Refactored phosphor calculations into a new PhosphorHandler class.
This class is accessible from both TIASurface and AtariNTSC, so there's no more code duplication.
Testing is required to see if this results in any slowdowns.  It shouldn't, since the relevant code is inlined ...
2019-12-26 20:26:39 -03:30
Stephen Anthony 1618095695 libretro: Fix error with user-defined vs. default c'tor. 2019-12-26 17:53:26 -03:30
Stephen Anthony 8ab2de692f Fix crash when combomap isn't defined in config file. 2019-12-26 17:51:08 -03:30
Stephen Anthony cd4c54400e Huge refactoring of the palette-related code.
This has been developed ad-hoc over the years, with different subsystems (TIA, UI, phosphor, Blargg, etc).  This is an attempt to consolidate the code, and also move to C++-style arrays.
Still TODO is look into refactoring phosphor stuff out of TIASurface and AtariNTSC classes, since the code is exactly the same, and doesn't really belong in either.
This is a major change, so some testing is definitely required.
2019-12-26 17:28:55 -03:30
Stephen Anthony 1f17711cd0 A few more cleanups from clang-tidy. 2019-12-26 11:55:25 -03:30
Thomas Jentzsch 94a18431d2 add Draconian to properties 2019-12-26 09:53:21 +01:00
Stephen Anthony 1844e85581 Fix potential divide by zero. 2019-12-25 21:49:07 -03:30
Stephen Anthony 9247b5c9c3 Fix size_t vs int issue. 2019-12-25 20:53:21 -03:30
Stephen Anthony 88c9c15bfa More fixes for warnings from clang-tidy.
Mostly converting C-style arrays to C++.
2019-12-25 20:40:01 -03:30
Stephen Anthony 0960105c32 First pass at converting Blarrg code to proper C++. This mostly involves getting rid of macros. 2019-12-25 20:39:04 -03:30
Stephen Anthony dddd0fd4a5 Activate properties from last commit. 2019-12-25 14:15:39 -03:30
Thomas Jentzsch ca4c83a819 Merge branch 'master' of https://github.com/stella-emu/stella 2019-12-25 17:49:46 +01:00
Thomas Jentzsch 04e36fd5a0 update properties for HES dual games. 2019-12-25 17:49:18 +01:00
Stephen Anthony fa55a76197 Use logical OR instead of bitwise OR. 2019-12-25 13:07:03 -03:30
Stephen Anthony 95d9ae92d9 A few items that slipped through the last commit. 2019-12-24 22:26:44 -03:30
Stephen Anthony 7e7348b07c Many more fixes for suggestions from clang-tidy. 2019-12-24 22:11:36 -03:30
Stephen Anthony 504235afea Replace 'atoi' with the C++11 equivalent: 'stoi'. 2019-12-24 17:58:46 -03:30
Stephen Anthony 55b7394144 More fixes for warnings from clang-tidy.
Sorry if these are all over the place; I'm fixing them in the order that the tool finds them.
2019-12-24 17:50:27 -03:30
Stephen Anthony c38ef3c423 Handle case where a ROM doesn't have a name in its properties entry. 2019-12-24 16:52:44 -03:30
Stephen Anthony 810d8450f3 Updated ROM properties to RomHunter v16. 2019-12-23 22:32:00 -03:30
Thomas Jentzsch dbac5aad02 fix for #552 (analog/digital part) (TODO: test!) 2019-12-23 17:08:51 +01:00
Stephen Anthony 357b29b5ec Deadcode elimination in M6502 emulation.
A minor improvement, but every little bit counts.
2019-12-22 23:33:20 -03:30
Stephen Anthony 963cec1880 More cleanups from clang-tidy. 2019-12-22 22:46:27 -03:30
Stephen Anthony db096b911c Convert joystick handler to use vectors and eliminate raw new/delete. 2019-12-22 21:43:50 -03:30
Stephen Anthony faf16e0fe3 Remove virtual designation for FSNode::setFlags, since it's never needed. 2019-12-22 21:00:50 -03:30
Stephen Anthony c057e1d0c8 Move all logging facilities from OSystem directly into the Logger class. 2019-12-22 17:36:06 -03:30
Thomas Jentzsch 8ba4bae4a7 add "Mickey" to properties 2019-12-22 18:39:07 +01:00
Stephen Anthony c9a23cd02f Some more refactoring based on advice from clang-tidy.
- Eliminate virtual calls in c'tor/d'tor
- Eliminate some redundant calls in d'tor
- Don't reinitialize blitter unless absolutely necessary
2019-12-22 11:56:24 -03:30
Stephen Anthony 51f704d769 Fix more fallout from code refactoring. 2019-12-22 10:18:03 -03:30
Stephen Anthony 0bf2c53818 Fix compile error in Windows port from recent code refactoring. 2019-12-22 10:14:39 -03:30
Stephen Anthony 6d8bd87db6 Eliminate superfluous 'setDirty' call. 2019-12-21 22:41:01 -03:30
Stephen Anthony ffdb301a36 Some cleanups suggested by clang-tidy. 2019-12-21 22:38:01 -03:30
Stephen Anthony 414607ce26 Changed Base::Format to Base::Fmt, and made it a scoped enum. 2019-12-21 21:27:18 -03:30
Stephen Anthony eebba63b58 Remove redundant comment. 2019-12-21 19:29:30 -03:30
thrust26 b6d3ab0f83 removed ARM RAM dump code again, redundant 2019-12-21 15:17:32 +01:00
thrust26 23cc2cc49c fix MessageBox height calculation
add first 0.5K RAM to ARM fatal error message
2019-12-21 11:59:07 +01:00
thrust26 2477b7fdaf add missing register 0 to ARM dump 2019-12-21 08:20:19 +01:00
Stephen Anthony b04c35e2a2 libretro: Fix VS project for recent removal of ystart handler. 2019-12-20 10:57:51 -03:30
Stephen Anthony 7fdc5e9ec6 Fix minor warning in Xcode. 2019-12-20 10:23:54 -03:30
Stephen Anthony 969911d398 libretro: Fix build file for recent removal of ystart handler. 2019-12-20 09:16:48 -03:30
Stephen Anthony 394ebd15f3 Removed all reference to 'ystart' from built-in properties database.
Note that the info is still in 'stella.pro', until we finalize what the values should be.
Then we will update the built-in properties again.
2019-12-19 18:42:23 -03:30
thrust26 8cd4115050 correct silencing fix 2019-12-19 19:54:09 +01:00
Christian Speckner ff29f63f7d Add missing initialization. 2019-12-19 19:28:33 +01:00
Christian Speckner 991f29b179 Don't try to access the palette before it has been initialized. 2019-12-19 18:39:39 +01:00
thrust26 9ede2456bd silence compiler 2019-12-19 18:34:21 +01:00
thrust26 e344848bdb adjust VS project 2019-12-19 18:14:16 +01:00
thrust26 1563e4c5c3 Merge branch 'master' of https://github.com/stella-emu/stella 2019-12-19 18:13:50 +01:00
thrust26 bdba1809da updated Super Soccer 2019-12-19 18:13:24 +01:00
Christian Speckner 7dd2103c89 Safety belt. 2019-12-19 18:12:20 +01:00
Christian Speckner 4e6df63bcd Adapt XCode project file. 2019-12-19 18:08:43 +01:00
Christian Speckner 30350ec2c4 Ystart is sleeping with the fishes. 2019-12-19 18:01:54 +01:00
thrust26 dea2e43b1e add hotkey for toggling interpolation (ctrl+i) 2019-12-18 20:38:52 +01:00
Stephen Anthony 6013620a5d Fix minor warning from clang. 2019-12-18 15:56:39 -03:30
thrust26 a894d325d3 reverted video dialog and settings changes 2019-12-18 19:55:58 +01:00
thrust26 307e73c7a1 small improvement on FC bankswitching 2019-12-18 19:12:04 +01:00
Stephen Anthony 52c7d83532 Fixed minor issues reported by cppcheck. 2019-12-17 21:06:08 -03:30
Christian Speckner a1df24b52d Precisely align scanlines with TIA scanlines. 2019-12-17 22:51:08 +01:00
Christian Speckner 4378b9eab4 Be ready for fractional scaling factors, performance improvements. 2019-12-17 21:31:08 +01:00
Christian Speckner bd4e076461 Native retina support. 2019-12-17 19:34:41 +01:00
Christian Speckner c61fb8f597 Update scaling in video dialog instead of framebuffer. 2019-12-17 17:16:37 +01:00
Christian Speckner 0334ae7bad Rename HqBlitter -> QisBlitter 2019-12-17 17:16:37 +01:00
Christian Speckner 5cc9c9eb78 Re-add filter setting to PNG metadata. 2019-12-17 17:16:37 +01:00
Christian Speckner 80bbea4640 Connect tia.filter. 2019-12-17 17:16:37 +01:00
Stephen Anthony 0556090a09 First pass at converting part of 'ystart' to 'vcenter'.
The logic here is somewhat convoluted.  I suggest renaming 'ystart' to 'startline',
and having it internal to TIA only.  The 'vcenter' option will then modify that value
from certain default constants (for NTSC and PAL).
2019-12-16 23:26:57 -03:30
thrust26 216916a313 Reimplement y-start as "V-Center" in dialog and messages
Limit v-center range to +/-15 pixel
2019-12-16 12:41:39 +01:00
thrust26 338e2604d5 Fixed my merge chaos (sorry) 2019-12-16 09:47:56 +01:00
thrust26 f66ba4fdd5 reimplemented ystart (TODO: GameInfoDialog) 2019-12-16 09:03:42 +01:00
thrust26 c061d3a4d3 removed redundant check
fixed superfluous ';' bug
2019-12-15 17:40:32 +01:00
thrust26 82314ecb21 improved logging and display of auto detected controllers and bankswitching types 2019-12-15 17:19:08 +01:00
Stephen Anthony 83c2e8486f More fixes for issues reported by cppcheck. 2019-12-15 12:32:49 -03:30
Stephen Anthony 56a6ef1a60 Some fixes for issues found in cppcheck. 2019-12-15 11:23:14 -03:30
thrust26 cbb8ba4494 added logging of available full screen modes 2019-12-15 10:28:14 +01:00
Christian Speckner 33172f34e4 Fix blitter reinitialization, always call Blitter::free on surface reload 2019-12-15 00:43:49 +01:00
thrust26 cc72f12574 prepare VideoDialog for new filter mode 2019-12-14 21:48:23 +01:00
Christian Speckner 17d5e153ca Stab at fixing memory issues. 2019-12-14 10:04:36 +01:00
thrust26 dbe763a770 spelling :) 2019-12-14 08:47:52 +01:00
Stephen Anthony c3a8543dc4 Properly handle 'Cart.StartBank' set to 'AUTO' in the ROM properties. 2019-12-13 20:21:20 -03:30
Stephen Anthony f1d18b6f0d Revert what I thought was a minor change in properties handling.
I need to go over this a little more, since it's causing ROMs to crash.
2019-12-13 20:11:14 -03:30
Stephen Anthony 2bc5c4336a Use make_unique/make_shared to eliminate raw pointers. 2019-12-13 19:24:36 -03:30
Christian Speckner c5f3c84236 Get rid of smoothing in favor of scaling settings. 2019-12-13 22:46:31 +01:00
Stephen Anthony 80f9fc6156 Updated VS project for QIS blitter class. 2019-12-13 17:34:23 -03:30
Christian Speckner 4c18f66250 Fix memory leak. 2019-12-13 21:47:30 +01:00
Christian Speckner d40e9011cf The gods made heavy metal... 2019-12-13 21:12:51 +01:00
Christian Speckner cd6f8b3498 More sophisticated detection whether qis is supported. 2019-12-13 21:00:23 +01:00
Christian Speckner 9b164c11bd Merge fallout. 2019-12-10 23:23:46 +01:00
Christian Speckner b9cf593023 Update XCode project. 2019-12-10 23:23:46 +01:00
Christian Speckner e83a943ab9 Cleanup. 2019-12-10 23:23:46 +01:00
Christian Speckner fd36f18061 Fall back to bilinear filtering if rendertargets are not supported. 2019-12-10 23:23:46 +01:00
thrust26 186576b825 updated VS project file 2019-12-10 23:23:46 +01:00
Christian Speckner 1d7d3a4edc Clear intermediate texture before blitting. 2019-12-10 23:23:46 +01:00
Christian Speckner 67b88fd370 Add HQ blitter. 2019-12-10 23:23:46 +01:00
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 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 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
Thomas Jentzsch cce980a4d4 prevent menu navigation with analog input 2019-09-01 09:50:04 +02:00
Thomas Jentzsch 0d8b53d004 add 'breaklabel' command for 16 bit address breaks in all banks 2019-08-31 11:37:29 +02:00
Thomas Jentzsch 5b67967e6e add a quick fix for #532
fix comment for FE detection
2019-08-31 10:21:30 +02:00
Stephen Anthony 24421fa9ee 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 5ec4cf8870 Add file/dir locations to logging. 2019-08-30 22:34:11 -02:30
Thomas Jentzsch 5e288dc075 improve 'break' command output 2019-08-27 23:27:28 +02:00
Thomas Jentzsch a3eb2a3598 return sorted list of breakpoints 2019-08-26 10:11:41 +02:00
Thomas Jentzsch dd3fea5f96 refine 'break' command (using ff instead of -1, which indicates an invalid argument) 2019-08-26 09:44:30 +02:00
Thomas Jentzsch 1fe3886cca Merge branch 'master' of https://github.com/stella-emu/stella 2019-08-24 14:12:32 +02:00
Thomas Jentzsch 72e50fa099 forgot the new files, oops again! 2019-08-24 14:12:07 +02:00