Commit Graph

150 Commits

Author SHA1 Message Date
adelikat f83261c116 misc cleanups in emulator core service logic 2020-01-11 13:19:51 -06:00
YoshiRulz e7d0fb8299
Refactor/genericise MutableIntRange, add immmutables, add more methods
call now and I'll throw in not one but two float equality extensions for free
2020-01-03 03:32:51 +10:00
YoshiRulz 9af93be0d3
Use string interpolation 2019-04-04 02:41:18 +10:00
YoshiRulz c4fd79bf03
Use MutableIntRange in RenderSpritesScanline 2019-04-01 14:40:06 +10:00
James Groom 4e91f88af3
Use nameof in cores 2019-03-28 14:18:58 +11: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
Asnivor 04b84a5c2e pcehawk: mask only when addr attached to vram 2018-12-03 23:06:48 +00:00
Asnivor 0687d4a304 needs testing/a second eye on it - #1363 2018-12-03 21:16:58 +00:00
Asnivor 818b1d8016 PCE: one small thing missed in the revert operation 2018-09-26 10:28:38 +01:00
Asnivor 4a2d9dd0f1 PCE: Revert aa7cee1. This looks to resolve the following: #1333 #1303 #1287 #1231 #1203 and *maybe* #1266 2018-09-26 10:27:23 +01:00
nattthebear e8145af463 i hope this breaks something 2018-05-12 12:55:42 -04:00
alyosha-tas ee49f147fb PCE: Don't always make a new frame buffer when settings change
Fixes #1175
2018-04-13 16:21:53 -04:00
alyosha-tas b2ed6eb737 Always initialize independent instances of IController in cores to NullController
- Fixes #1168
2018-03-31 11:23:55 -04:00
alyosha-tas be253911c6 PCE: Increase read access time even more to fix Gate of Thunder Loading
fixes #70
2018-03-21 18:15:51 -04:00
alyosha-tas f86e00f925 PCE: only latch Y-scroll once per scanline after an offset.
The latching behaviour is correct, but I'm unsure of what the offset value should be.
fixes #771
2018-03-20 21:17:57 -04:00
alyosha-tas aa7cee1bb7 PCE: update some graphics properties 2018-03-20 10:40:14 -04:00
alyosha-tas 8f193eb68f PCE: Increase read delay to fix Mugen Senshi Valis fixes #554 2018-03-20 10:08:13 -04:00
alyosha-tas cace4bdb5a PCE: Fix a VPC typo 2018-02-11 14:02:08 -05:00
alyosha-tas fd7a3a731e PCEHawk: Add option for cropping
Resolves #71
2018-02-10 15:28:27 -05:00
alyosha-tas 58f6e624ff SMS add Korea to region selection options 2018-02-08 09:26:22 -05:00
alyosha-tas f2523f1cec PCE: Fix some VPC issues 2018-02-06 18:56:03 -05:00
alyosha-tas 5f250a2fb0 PCE: Fix display to correctly capture changes to display offset register
Fixes Devil's Crush (and by extension Final Blaster)
2018-02-05 16:58:46 -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
adelikat 3109bdcc6a PCE - cleanup 2017-07-18 11:20:02 -05:00
adelikat 46e4ae05d6 PCE - rip out old controller config logic 2017-07-18 11:05:11 -05:00
adelikat 9fc8b8700d PCE - add ui for controller config 2017-07-18 11:01:50 -05:00
adelikat d99d2dd3dc PCE - start support for peripheral support - implement a controller deck and wire it up to the controller logic, with the same options as previously, 5 ports, with None and Gamepad as options. No ui for the new system. Old system code and ui still left in 2017-07-18 10:37:17 -05:00
adelikat c6e0e9fa57 Rename CoreAttributes to CoreAttribute as to not be a bad person 2017-07-12 14:10:55 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
alyosha-tas a6197a643b Update VDC.cs
Fix initial size in PCE.

Still a little off (4 pixels ) because it autoresizes and it really should probably be completely rewritten, but at least it's much less jarring now.
2017-05-06 10:25:14 -04:00
adelikat 1dae91e6a8 clean up core constructors - consistent parameter casing, and put them at the top of the class 2017-05-05 19:05:36 -05: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 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 ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
adelikat 883d9d2207 Rename MetaspuAsync to MetaspuAsyncSoundProvider and remove the todo, also friendlier enum names 2017-04-27 12:12:11 -05:00
adelikat 3192cc70ae slight refactor to IEmulator - make the IController property set only to more clearly express the client -> core relationship 2017-04-26 19:09:00 -05:00
adelikat 9ecf2aed7f Fix naming of ISynchronizingAudioBuffer method and param names 2017-04-25 13:22:25 -05:00
adelikat eee0ba69dc misc cleanups on PCEngine 2017-04-25 12:57:42 -05:00
adelikat 2de20e956b use Dictionary initializers instead of object initializers for various GetCpuFlagsAndRegisters() methods 2017-04-25 08:28:06 -05:00
J.D. Purcell b53502eed8 Spaces -> tabs. 2017-04-15 16:37:30 -04:00
adelikat ab1a22bf31 add TotalExecutedCycles as an IDebuggable property, and implement it in cores with the information readily available (and throw NotImplementedExecptions in the remaining). wire the property up to lua with emu.totalexecutedcycles(). Stil todo - wire it up to the Debugger gui 2017-01-09 19:23:05 -06:00
adelikat eda79c2212 Make an interface for CodeDataLog, and move CodeDataLog to Base Implementations 2016-12-16 11:33:02 -06:00
adelikat 691632f188 More IAsyncSoundProvider and related classes to BizHawk.Emulation.Cores and make them internal, since they are implementation details, and they are deprecrated and not intended to be used in future cores. 2016-12-16 08:50:05 -06:00
adelikat 72a59087b5 Use the IController indexing property less in preparation for removing it from the interface. Replaced with its more explicity counter-part .IsPressed() 2016-12-14 12:42:15 -06:00
adelikat aaed8e67d5 NullController - remove a bunch of methods that were originally part of IController but no longer are, and clean up the code a bit 2016-12-14 09:16:54 -06:00
adelikat bd7bd831c7 PCEngine - lock down some variables to private or internal, explicitly mark some private variables 2016-12-12 10:31:38 -06:00
adelikat 618f5de54f PC Engine - break off services into their separate files 2016-12-12 10:23:07 -06:00
adelikat b73a500d6b Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async. 2016-12-11 11:15:00 -06:00
adelikat b697110098 Rename ISoundProvider to IAsyncSoundProvider to more accurately describe what the service does 2016-12-09 10:24:43 -06:00