Commit Graph

28 Commits

Author SHA1 Message Date
adelikat 5c84c94a12 fix compile error in debug mode, oops 2020-03-20 21:05:44 -05:00
adelikat 7fb89aed18 NesHawk - move BootGodDb to its own file 2020-03-19 21:35:36 -05:00
adelikat 22f6df3a70 NesHawk - CartInfo - turn into properties 2020-03-19 21:20:53 -05:00
adelikat daab35fc39 NesHawk- move CartInfo into its own file 2020-03-19 21:15:07 -05:00
adelikat 291275fe8c NesHawk - move MapperPropAttribute to its own file 2020-03-19 21:11:01 -05:00
adelikat f8acb61136 NesHawk - make boards and related classes internal, and sealed where possible 2020-03-19 21:06:54 -05:00
adelikat 720a2dce02 NesHawk - move NesBoardImpl attributes to their own file 2020-03-19 20:21:29 -05:00
adelikat 8bcab5af79 NESHawk - break off INesBoard and NesBoardBase into separate files 2020-03-19 19:06:03 -05:00
adelikat d953318160
Remove cbuffer (#1883)
* delete unused ShortBuffer

* convert IntBuffer to int[] in the Atari2600 core

* remove IntBuffer from NES mappers, and delete class

* convert ByteBuffer to byte[] in atari 2600 mappers

* remove ByteBuffer usages in NESHawk, remove ByteBuffer class

* remove Buffer.cs

* remove IDisposable from NES.NESBoardBase

* remove Dispose from Atari2600 MapperBase, note, it wasn't event being called
2020-03-18 08:55:02 -05:00
adelikat 46d05de51f nothing to see here 2020-02-28 12:52:48 -06:00
adelikat cdcc1eabde use inline out variables in Emulation.Cores 2020-02-18 15:10:29 -06:00
YoshiRulz 3afcf416e8
Follow attribute class best practices, cleanup docs on attributes 2020-02-19 03:54:50 +10:00
adelikat 606c3bf1c2
use more advanced language features in Emulation.Cores (#1852)
* Use expression bodies in Emulation.Cores, and a few other misc cleanups

* remove unused usings in Emulation.Common

* cleanups in Tables_Direct.cs

* some cleanups in nes boards - redundant code

* remove some redundant array initializers in Emulation.Cores

* cleanup AmstradCPC.Controllers

* use object initializers in a lot of places

* nes mappers - remove disch's notes comments in favor of the nesdev wiki link

* cleanup CdtConverter.cs, mostly use of object initializers

* remove redundant .ToString() calls in Emulation.Cores

* using var in Emulation.Cores

* AmstradCPC/ZXSpectrum - simplify some linq, tabs instead of spaces, a few other misc cleanups

* Use null-propagation in Emulation.Cores
2020-02-17 16:54:51 -06:00
YoshiRulz b1e02fbdce
Enable SA1106 and fix noncompliance
"Code should not contain empty statements"
i.e. don't put a semicolon there
2020-01-25 18:06:34 +10:00
YoshiRulz 6f3f01125c
Enable SA1504 and fix noncompliance
"All accessors should be single-line or multi-line"
i.e. no block form on one line
2020-01-25 14:56:56 +10:00
YoshiRulz 4ed402fc59
Cleanup some more files 2020-01-24 09:37:15 +10:00
YoshiRulz 7fb8051426
Use string.Concat/string.Join 2019-04-04 02:17:00 +10:00
James Groom 4e91f88af3
Use nameof in cores 2019-03-28 14:18:58 +11:00
adelikat ebdb244714 NESHawk - a small speedup (a few fps) - don't call Board.ClockPPU unless it is implemented 2017-06-28 10:24:19 -05:00
J.D. Purcell 16bf63ade8 Random cleanups. 2017-04-10 09:36:04 -04:00
alyosha-tas df7a93e83a NES Update $2003 behaviour
Fixes Huge Insect
Some debate reamins about what exactly is happening here though
2017-03-07 22:30:41 -05:00
alyosha-tas d8dfaf6d3d VS security in gamedb 2016-10-31 09:58:13 -04:00
adelikat 65c245f601 properly wire up VS palette selection from the gamedb 2016-10-30 15:36:52 -05:00
nattthebear 8d3e10b56e Support UNIF DripGame http://www.qmtpro.com/~nes/drip/. Everything works except the nametable viewer (which does not account for the exattributes) 2016-03-16 19:56:26 -04:00
nattthebear 6dfc43a0ed NES: Support trainered roms because CHAOTIC NEUTRAL 2015-08-10 19:42:13 -04:00
nattthebear 4f159b4c20 Populate board values sync settings with default values when loading a game on a board with them 2015-08-05 21:05:07 -04:00
zeromus db9fbced86 neshawk - rough sketch of NSF player. basically functional for some games 2015-03-11 09:46:27 +00:00
adelikat 2651061cac NES - prefix NES. on some partial class files to conform to our naming standards and make their intent more clear 2015-01-20 00:29:17 +00:00