Commit Graph

17 Commits

Author SHA1 Message Date
goyuken 7b580e7dca tim the tool form taylor 2014-12-15 03:19:23 +00:00
adelikat c1767a6fe7 convert some nes tools to EmulatorServices, currently they simply require a NES instance, eventually need to use an actual service, that all nes cores could implement 2014-12-14 00:25:50 +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
adelikat 04f9081943 in IEmulator extensions add methods such as AsMemoryDomains(), AsStatable() that do the service calling magic. In the client code replace appplicable casts of IMemoryDomains with AsMemoryDomains(), more commits of this nature for the other IEmulatorServices soon to follow 2014-12-05 00:32:29 +00:00
adelikat d003be9cda remove some todos, I decided not to do any of them, it is too pedantic to do them 2014-09-01 19:07:05 +00:00
adelikat 5ba74c631c Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup 2014-09-01 18:43:41 +00:00
kylelyk 321c8c64bf Added documentation to IControlMainForm, renamed a few variables, moved IControlMainForm related code in MainForm to the same region. 2014-08-19 19:24:17 +00:00
adelikat 570f77cc68 Implement FastUpdate() on IToolForm. The intent here is for tools to do the minimum amount necessary when updating. This allows them to avoid slow things like drawing, but do critical activities such as Ram tools incrementing change counters, and loggers can continue logging. When Turboing, instead of bypassing tool updates, the client will run the fast update instead. Note: a few tools still need to be thought out as to what they need to do in a fast update 2014-07-25 01:55:21 +00:00
adelikat ab5cfab035 remove redundant code throughout the emuhawk project 2014-06-29 02:28:48 +00:00
adelikat f3766249bf Fix Ram Watch on screen display that I broke in the last ram watch related commit 2014-04-26 14:51:33 +00:00
adelikat edfc5d303f NES Game Genie Encoder/Decoder - allow special command (like copy and paste), and the backspace button 2014-04-22 14:58:58 +00:00
adelikat 4aab2ea31d NES Game Genie dialog - implement Always on Top and Floating Window + refactor 2014-01-31 20:49:38 +00:00
adelikat 803863b305 NES Game Genie Encoder/Decoder - support anything with system id "NES" not specifically the NES object, look for the "System Bus" not a hardcoded 2nd in domain in the list 2014-01-07 00:22:46 +00:00
adelikat c076931d0c clean up NES namespace 2013-11-14 13:15:41 +00:00
adelikat 999c884f13 Refactor WatchValueBox to better handle the Nullable property, fixes a lot of issues in the cheat form among other places 2013-11-08 23:55:45 +00:00
adelikat 56cb2ba538 Refactor CheatList and Cheats to have changed event handlers, and have the client wire up an event handler to update all the relevant dialogs. 2013-11-04 15:52:59 +00:00
adelikat c669680e07 Rename Multiclient folder 2013-11-03 04:05:56 +00:00