Commit Graph

5694 Commits

Author SHA1 Message Date
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
thrust26 a9cb688e74 Merge branch 'master' of https://github.com/stella-emu/stella 2019-12-31 18:35:16 +01:00
thrust26 f19171ef15 minor doc updates 2019-12-31 18:35:03 +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