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
79d77e2c60
minor improvement on event mapping doc
2019-12-26 11:59:55 +01:00
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
Stephen Anthony
80f221619a
Make Travis build use a released SDL, not a WIP from Mercurial.
2019-12-23 17:22:29 -03:30
Stephen Anthony
72654bd48f
Upgrade Travis Mac build environment to latest version.
2019-12-23 17:12:18 -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