Commit Graph

148 Commits

Author SHA1 Message Date
adelikat 13bc770063 misc cleanups in Emulation.Common 2020-02-26 16:32:00 -06:00
adelikat 2c9d8bba40 cleanup DSKIDentifier.cs, misc cleanups in Emulation.Common 2020-02-26 15:51:29 -06:00
YoshiRulz 3afcf416e8
Follow attribute class best practices, cleanup docs on attributes 2020-02-19 03:54:50 +10: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 656f2b814e Move IEmulator extensions to the Emulation.Common namespace, the intent is that these are used and serve as built in functionality, so it's overly tedious to when most situations require both Common and an additional extensions namespace 2020-02-15 12:33:15 -06:00
adelikat 063e3b2a13 revert foreach loop in MemoryCallbackSystem - see #1823 2020-02-01 14:53:03 -06:00
adelikat 6e5a3910de ControllerDefinition - auto-initialize properties 2020-01-19 13:32:43 -06:00
YoshiRulz 7932c401e1
Improve exception docs in BizHawk.Emulation.Common 2020-01-02 21:51:21 +10:00
adelikat 18fbd9af1c MessageConfig - don't use Global.Emulator 2019-12-21 14:58:33 -06:00
adelikat 71aaf349b5 Fix GPGX one off hack to fix trace logger, and instead do a less bad hack in CallbackBasedTraceBuffer 2019-12-15 12:13:10 -06:00
warmCabin baca4e2af8
allow onmemoryexecute to have null address 2019-12-10 23:02:18 -05:00
adelikat 7d8522e0b3 Remove snowy null emulator option and simplify Null Emulator 2019-12-06 18:42:00 -06:00
adelikat 45a777c983 Simplifications and cleanups in Emulation.Common 2019-11-08 09:48:53 -06:00
adelikat 40ac534f51 Memory callback system - simplify and remove now unused methods 2019-11-05 20:02:45 -06:00
adelikat 2b7cb1bb7d BizHawk.Emulation.Common - cleanups -> C#6/7isms, fix some typos, variable naming, spaces to tabs 2019-10-29 13:59:08 -05:00
zeromus 1258b2fa81 optimize CallMemoryCallbacks 2019-06-14 09:19:06 -04:00
Brian Armstrong 2c6ecb68bd Merge branch 'master' into brian/mem_callback_addr_value 2019-06-06 02:11:04 -07:00
Brian Armstrong d41bd867b8 flags 2019-06-06 02:04:47 -07:00
James Groom 779975f689
Use nameof 2019-03-28 14:17:14 +11:00
Brian Armstrong fe3455be7d call with value, not 0 2019-01-24 03:25:50 -08:00
Brian Armstrong a8f293eec8 Call mem callbacks with addr, value 2019-01-24 03:23:21 -08: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
feos 8a27fe9c56 fix copypaste error 2018-10-24 20:03:20 +03:00
gifvex f48a795090 MemoryCallbackSystem: fix #1159 2018-04-02 18:19:40 -04:00
zeromus b868c07a10 blind commit: add SMP hooks to bsnes to test hook scoping system (need to build a waterbox to proceed) 2017-08-23 10:08:43 -04:00
adelikat 56859e9581 MemoryCallbacks - Change "domain" to "scope" 2017-08-03 20:03:40 -05:00
adelikat cd289c474e memorycallbacks with domains - Phase 2 - change api to Call methods and refactor accordingly, everything should behave as it was before the refactor at this point. No cores have yet to be implemented with domains other than the default bus they already had 2017-08-03 18:08:07 -05:00
adelikat 04ce66c397 phase 1 of changing memory callback api to specify domain - require cores to specify which domains are available and have the domain passed in when creating callbacks. Still todo - cores need to pass in domain name on CallReads/Writes/Executes methods 2017-08-01 22:05:17 -05:00
zeromus 89e87bc4e3 fix crash in axis constraints application when not connecting any n64 controllers (fixes #946) 2017-07-29 13:57:50 -05:00
adelikat c6e0e9fa57 Rename CoreAttributes to CoreAttribute as to not be a bad person 2017-07-12 14:10:55 -05:00
nattthebear cf608bfca9 playernumber stuff: This is all medium whack 2017-06-11 10:49:22 -04:00
nattthebear 7f2e06b0b5 clean things up and make gpgx fully (?) multi-instance correct 2017-05-28 13:46:08 -04:00
nattthebear 7d0330bb9e snes9x - cleanup usage of the IMonitor semantics. This makes memory domains slower. 2017-05-28 13:12:48 -04:00
adelikat 59139ab266 Spell out Numerator and Denominator 2017-05-05 11:25:38 -05:00
adelikat 62a13d961d Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider 2017-05-05 11:21:37 -05:00
adelikat 34d1e4fe57 NullEmulator - add a ServiceNotApplicable decoration 2017-05-05 09:54:46 -05:00
adelikat a0956f39cc meh 2017-05-05 09:52:19 -05:00
adelikat 5eec274b5d some refactoring of NullVideo/NullEmulator - maybe this is better code, maybe not 2017-05-05 09:51:00 -05:00
adelikat 08be637131 Remove some unused constants in SpeexResampler, and some meaningles whitespace cleanups 2017-05-02 07:44:23 -05:00
adelikat 698c6741ae Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method 2017-05-01 20:09:11 -05:00
adelikat c696195ad0 Remove this todo, I think the previous commit qualifies as having done it 2017-04-28 08:19:08 -05:00
nattthebear 967c18aa34 linq linq baby 2017-04-27 18:28:55 -04:00
adelikat d320b5057d Emulation.Common - small nitpicks 2017-04-27 12:53:20 -05:00
adelikat 4c313e2a6a ControllerDefinition - ToList() is better here I think? 2017-04-27 12:45:33 -05:00
adelikat 130f881ea0 Emulation.Common - more misc cleanups throughout 2017-04-27 12:25:12 -05:00
adelikat 0765b559a1 Meh 2017-04-27 12:01:37 -05:00
adelikat 8eb9d68fa6 Emulation.Comon - misc cleanups 2017-04-27 11:56:33 -05:00
adelikat 17fe836926 Emulation.Common - misc cleanups in Base Implementations 2017-04-27 08:24:21 -05:00
adelikat 183f5b0672 Emulation.Common - misc cleanups mostly fixing documentation 2017-04-26 09:10:00 -05:00
adelikat ec545ae3a0 Emulation.Common - misc cleanups 2017-04-26 08:44:52 -05:00