Commit Graph

19 Commits

Author SHA1 Message Date
adelikat 17fe836926 Emulation.Common - misc cleanups in Base Implementations 2017-04-27 08:24:21 -05:00
adelikat 76b9367378 more misc cleanups 2017-04-24 07:43:02 -05:00
adelikat 7ab8455e84 misc code cleanups in BizHawk.Emulation.Common 2017-04-14 12:28:23 -05:00
adelikat 37c989c661 more misc code cleanups, with some C#6isms 2017-04-10 11:24:53 -05:00
J.D. Purcell b2a28339d1 Use 'nameof' operator. 2017-04-10 08:36:42 -04:00
adelikat 40418ad25d More documentaiton for IEmulatorServices, related classes/interfaces, and base implementations 2016-12-14 09:11:07 -06:00
adelikat b3dd9d26dc Misc code cleanups in Emulation.Common 2016-02-28 19:03:01 -05:00
adelikat 7cca0be2e7 IEmulatorServiceProvider and BasicServiceProvider - restrict to IEmulatorServices 2015-01-23 20:55:13 +00:00
goyuken 76969200a3 cleanup 2015-01-15 03:58:21 +00:00
adelikat de34d29ac1 Basic Service Provider - don't register IEmulatorService 2015-01-14 23:01:06 +00:00
adelikat 5c768b1dc4 IEmulatorServiceProvider - add an AvailableServices property, Service Provider - don't register type object 2015-01-14 22:53:08 +00:00
goyuken b23294a68f remove the IEmulatorService requirement from IEmulatorServiceProvider and BasicServiceProvider 2014-12-15 21:35:09 +00:00
goyuken 10e38e7bc9 fix BANDAI FCG 1 Boards without barcode reader 2014-12-14 17:19:54 +00:00
adelikat d1cc13a9c0 BasicServiceProvider - catch any IEmulatorServices that the core implements that aren't defined in the Emulation.Common assembly, and make IGBAGPUViewable an emulator service 2014-12-13 23:45:51 +00:00
scepheo 769cbeb1a0 - IToolForm: Added RequiredServices attribute to define dependencies, and added EmulatorServices for ToolManager to supply them.
- IServiceProvider, BasicServiceProvider: Added compile-time unknown type versions of GetService and HasService.
- ToolManager: Added IsAvailable to test whether all dependencies for a tool are available.
2014-12-13 21:54:59 +00:00
goyuken c6ed49c067 some disassembler stuff 2014-12-13 21:49:15 +00:00
adelikat 925d6f5a50 BasicServiceProvider - allow the core to return itself when its specific implementation is requested 2014-12-13 16:22:36 +00:00
adelikat 02f5206382 remove a debug line of code that I checked in on accident 2014-12-04 22:38:03 +00:00
adelikat d8a204572d Add an IServiceProvider interface and make it a property of IEmulator, the purpose of this provider is to provide IEmulatorServices upon request. Make BasicServiceProvider and have all cores use it for now. BasicServiceProvider will return the core itself if the core itself is the requested type. He will also be able to return nested types (code not finished). Wired this up to the HasSavestates extension method (a method that has minimal value now) as a proof of concept. 2014-12-04 03:38:30 +00:00