Commit Graph

101 Commits

Author SHA1 Message Date
goyuken 3710e6c1ca itoolformautoconfig: fix save position 2015-01-01 21:01:42 +00:00
adelikat 29117dadbe remove an unused function in ToolManager 2015-01-01 19:16:50 +00:00
adelikat bb5b20cc33 Gensis Game Geneie Encoder/Decoder - convert to IToolFormAutoConfig, fix a bug that would have made it never be available, make it available on non-interm builds (I think the issue keeping it unreleased was a core endian issue that was resolved), add a menu item for it in the Genesis menu 2015-01-01 19:02:00 +00:00
adelikat 89fcceecfc ToolManager - support autoloading from custom settings that inherit ToolDialogSettings, Ram Search - convert recent files to ConfigPersist 2015-01-01 02:08:45 +00:00
adelikat 399cbb9116 Cheats - remove the dependency on an IEmulator service by moving some logic to ToolManager (not good logic, will be obsoleted eventually) 2015-01-01 00:11:39 +00:00
adelikat b4c703580a A slight refactor with MainForm events 2015-01-01 00:06:00 +00:00
goyuken d1caf79a56 toolmanager: when electing to close and not restart a tool because of lack of services on the new core, clear out all services attached to the core first. this will turn some existing silent failures into NullReferenceExceptions, likely. fix one such bug in GBAGPUView 2014-12-31 17:18:51 +00:00
goyuken 3ff067d426 IToolFormAutoConfig: add restore defaults 2014-12-23 01:01:37 +00:00
goyuken 808e17c3f7 tracelogger settings 2014-12-22 19:01:21 +00:00
goyuken ed6082cab3 NES: set NT and PPU viewers to use the new settings stuff 2014-12-21 08:17:56 +00:00
goyuken 3ff57483ff tool manager: more config stuff 2014-12-21 05:56:51 +00:00
goyuken ff8922bb08 itoolform custom config infrastructure; not complete 2014-12-20 21:49:53 +00:00
goyuken 62cb922a81 change GB gpu to work with IToolFormAutoConfig and fix un-resizable window behavior 2014-12-20 17:20:56 +00:00
goyuken 2245398df1 change itoolform autoconfig to opt-in 2014-12-20 17:05:13 +00:00
goyuken 360ca02b93 tool setting stuff. WIP 2014-12-19 23:33:05 +00:00
goyuken 4441052310 toolmanager: refactor get 2014-12-19 22:21:25 +00:00
zeromus 4dc4745122 psx - revise disc swapping method. way cooler now, you get a list of discs in the virtualpad box, and changing between them maps to physical operations more logically. 2014-12-19 03:24:48 +00:00
goyuken ecf8728de6 factor out serviceinjector to emulation.common 2014-12-17 18:17:16 +00:00
adelikat 53dc38ee66 ToolManager - manage IsHandleCreated and IsDisposed logic when deciding to restart a tool, still todo: a billion tools do this logic unnecessarily now 2014-12-17 03:21:32 +00:00
goyuken 7b580e7dca tim the tool form taylor 2014-12-15 03:19:23 +00:00
scepheo 7c9f7706d3 ToolManager: added compile-time unknown type version of Load and methods it uses. 2014-12-14 02:15:19 +00:00
adelikat 685756ea8e Remove LoadTraceLogger() from ToolManager since it was simply a wrapper to manage availability logic, most of those types of properties should be removed now 2014-12-14 01:39:15 +00:00
adelikat 30e6aeb0bf ToolManager Load<T> - check IsAvailable() before attempting to load 2014-12-14 01:25:28 +00:00
scepheo 7f0229d9e6 Added support for OptionalServices and cleaned up ToolManager code. 2014-12-13 23:36:49 +00:00
adelikat 557309eb6f Fix a bug in ToolManager.Restart() 2014-12-13 23:02:32 +00:00
scepheo b65bf1b5ae ToolManager: Added tool dependency injection on tool restart and load. 2014-12-13 22:32:08 +00:00
scepheo 99506df596 ToolManager: Forgot compiler-time unknown type variants of GetDependencies and IsAvailable. 2014-12-13 22:14:30 +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 309088211c Move TraceBuffer from CoreComm to IDebugable and refactor accordingly 2014-12-05 00:05:40 +00:00
adelikat 773a53d2e3 Hotkeys that operate on tools - check that the core has the proper prerequisites before opening them 2014-11-30 18:35:25 +00:00
adelikat 56442d9f8d Fix ToolManager Has<T> function to check if a tool is disposed not just if it is in the tool list 2014-09-21 14:58:03 +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 269b3c7ee1 start a new Virtual Pad Tool, currently only does NES with one controller as a proof of concept, this is probably a messed up commit will fix next 2014-06-22 13:57:23 +00:00
adelikat 8f2746ab86 Change "Interim Build" to "Developer Build" and rename flag variable name, as this is more accurate to the intent of this type of build (unofficial interim builds still shouldn't have developer features or unfinished developer work) 2014-06-04 17:02:54 +00:00
adelikat c432fab579 Fix Ram Watch on screen display I broke some commits back 2014-05-04 14:22:11 +00:00
adelikat 650607cfd7 Put Lua FrameBefore and FrameAfter event firing into the event loop instead of tools, so that it isn't bypassed when turboing. Probably works, couldn't test. 2014-05-03 11:59:11 +00:00
adelikat 4fc81991d7 Save cheats even if the cheat dialog was never opened (for instance, if the cheat were added via a game genie dialog or lua) 2014-04-26 17:28:43 +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 11f055a1e7 Use the RecentRom.MostRecent property more, instead of index 0 2014-04-06 20:46:23 +00:00
adelikat 877d81b0ff Fix bug where adding to Ram Watch from another dialog while it has changes and autoload is on was asking you to save changes before adding an address 2014-03-01 19:16:17 +00:00
zeromus 96da0880b4 work towards generalizing lua display layers. "emu" and "native" surfaces now work and are accessible from lua. 2014-02-14 00:55:18 +00:00
adelikat fcbcbc2ac4 some stupid code cleanup while I'm at it 2014-01-01 02:16:47 +00:00
adelikat a3a8170c44 Check Global.Config.SupressAskSave in ToolManager instead of doing it in the tool dialogs themselves 2014-01-01 02:09:03 +00:00
adelikat 70078b24f2 Remove the hacky Cheats_Restart() method and move the logic into the Restart method of ToolManager, also move over the generateDefaultCheatName to that object and make it static 2013-12-23 03:07:06 +00:00
adelikat 05e2f67771 Move some tool loading logic from mainform to toolmanager 2013-12-22 23:34:22 +00:00
adelikat d37f186107 Hex Editor - a bunch of clean up, refactoring, rethinking of stuff, and some slight bug fixes 2013-11-28 20:02:32 +00:00
adelikat b3946082a7 Some code refactoring, mostly in an attempt to pick away at the beast that is Mainform.cs 2013-11-27 23:35:32 +00:00
adelikat 544f4855fa Fix Ram Watch on screen feature so that it still works when Ram Watch is closed 2013-11-24 16:00:10 +00:00
adelikat 0b71e4d08c Some fixes to the ToolManager and make cheats not redraw every frame 2013-11-07 20:33:29 +00:00
adelikat c669680e07 Rename Multiclient folder 2013-11-03 04:05:56 +00:00