Commit Graph

21 Commits

Author SHA1 Message Date
adelikat 8bcab5af79 NESHawk - break off INesBoard and NesBoardBase into separate files 2020-03-19 19:06:03 -05:00
adelikat 027dc01c8b
create StateSerializer as a base implementation of IStatable (#1850)
* create StateSerializer, an ITextStatable implementation using the Serializer class, and wire it up to the TI83 core

* wire StateSerializer to A2600 core

* wire up StateSerializer to AmstradCPC, C64, and ZXS

* wire up StateSerializer to MSX, A27800, and Coleco

* wire up state serializer to ChannelF, Vectrex, Intellivision

* fix GambatteLink to implement ITextStatable, implement TextSerializer in O2

* StateSerializer - wire up a loadstate callback and implement StateSerializer for NesHawk, a bit of rework to subNesHawk as a result

* fix subneshawk text savestates

* StateSerializer - implement byte[] buffer storing (optionally), wire up to PCE

* implement StateSerializer to SMS, tweak GGLink accordingly

* implement StateSerializer in GBHawk, fix link cores accordingly

* StateSerializer - use Serializer static methods to create serializers
2020-02-16 12:05:57 -06:00
adelikat 4b7a7dd293
Make Binary states default and Textstates opt-in for cores (#1848)
* Rewind & State config - remove the default option

* remove the savestate type of default, not that this is a breaking config change for anyone that had specifically set savestates to text

* remove BinaryStatesPreferred from IStatable and use config setting when starting movies from "Now" in record movie dialog

* remove BinaryStatesPreferred from cores

* make text savestates an extension method off of IStatable and an inteface ITextStatable it uses if the core implements it. This will allow cores to opt in to text states if desired

* make cores with actual text savestate impleemntations get ITextStatable, remove text state logic from cores that just have a binary as as text implementation
2020-02-15 10:22:26 -06:00
adelikat 8d662fcee3 more nitpicks in nes savestate code 2020-02-14 10:20:27 -06:00
adelikat e57be44fd0 nes savestates - dispose of IDisposables, simplify a bit 2020-02-14 10:12:52 -06:00
James Groom 4e91f88af3
Use nameof in cores 2019-03-28 14:18:58 +11:00
alyosha-tas 469fc4836f NESHawk: Optimizations and Audio changes 2019-02-18 14:52:17 -06:00
alyosha-tas 5256284ac6 SubNESHawk:
- Use NES settings for controllers / sync settings
- Clean up un-needed extra controller code
- Enable Menues
2019-01-12 09:32:01 -06:00
alyosha-tas c19c7cd5c3 SubNESHawk
also Input register shift fix

# Conflicts:
#	BizHawk.Client.EmuHawk/MainForm.Designer.cs
#	BizHawk.Client.EmuHawk/MainForm.Events.cs
#	BizHawk.Emulation.Cores/Computers/AmstradCPC/AmstradCPC.IEmulator.cs
#	BizHawk.Emulation.Cores/Computers/SinclairSpectrum/ZXSpectrum.IEmulator.cs
#	BizHawk.Emulation.Cores/Consoles/Nintendo/NES/PPU.run.cs
2019-01-10 18:25:59 +03:00
alyosha-tas 7b8a61b8e4 NESHawk Cleanup 2017-10-26 09:58:24 -04:00
alyosha-tas 13b99bafd0 NESHawk: Clean up and minor refactor
Simplify the code base a bit and gets a performance boost as well.
2017-06-16 21:41:13 -04:00
nattthebear b24d341b14 Remove NES _iskeyboard - This is implemented (although not well tested) already 2016-10-31 17:40:47 -04:00
alyosha-tas e2e8c2cfc0 VS updates 2016-10-27 18:18:46 -04:00
alyosha-tas f35d14a8b4 VS System initial commits 2016-10-26 19:29:10 -04:00
alyosha-tas 5e9a6fef69 Make room for family basic 2016-09-07 20:08:06 -04:00
nattthebear 7b19db2d64 Fix NES memory domains 2016-07-16 16:13:50 -04:00
alyosha-tas 663aded7b2 Pass a few more tests
and fix a few regressions
2016-07-01 22:31:06 -04:00
alyosha-tas e2b395cc3a add states 2016-06-30 18:34:28 -04:00
alyosha-tas d99d0d70d5 more states
for dma
2016-06-29 09:40:46 -04:00
adelikat 3b2c00cf39 NES - remove a bit more partial class as namespace abuse 2015-01-17 21:02:59 +00:00
adelikat 95dcae132f NEShawk - break up into separate files 2015-01-15 19:19:43 +00:00