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
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