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
e6e2972e3d
Make IMemoryDomains inherit IEmulator and simplify some code slightly as a result
2014-11-23 16:03:04 +00:00
adelikat
1693a2a1ed
Cheats dialog - default to System Bus domain
2014-09-13 14:21:08 +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
726122e579
remove a toolhelper method that wasn't adding much value
2014-07-28 02:15:21 +00:00
adelikat
c988466942
Convert some more toolhelper methods to extensions
2014-07-28 02:10:31 +00:00
adelikat
ce4ce0bacc
Convert some static methods in ToolHelpers to extension methods
2014-07-28 01:51:11 +00:00
adelikat
b0b057ef2c
When opening the hex editor from another dialog, open it in the same byte size
2014-07-28 01:24:57 +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
bfb541a5a9
Move InputValidate and StringHelpers to BizHawk.Common
2014-07-03 14:51:03 +00:00
adelikat
70fbbd5817
Similar fixups to Ram Search and Cheats
2014-06-20 18:09:53 +00:00
adelikat
58e5599f2f
Rollback 6918 since it doesn't work either, and do a fix to Cheats column saving/loading. Neither dialog currently work however
2014-06-20 17:41:40 +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
b378cd13e4
Cheats - address issue 148, instead of throwing an exception when attempting to add an out of range address, present an error message. One odd side effect is that it will add a separator instead, but I think that's acceptable for now.
2014-03-23 15:58:44 +00:00
adelikat
8b6bf3fc89
A hackish workaround to make Select All faster in the Cheat Dialog
2014-03-23 14:10:35 +00:00
adelikat
5849d2d80d
make the Select All feature built right into VirtualListView instead of writing the same code over and over in the tool dialogs, also make said code faster on large lists
2014-02-15 19:15:04 +00:00
adelikat
5f5677781b
Cheats dialog - Floating window option
2014-01-30 15:51:07 +00:00
adelikat
309626b8c8
lock down NES Sound config settings on quicknes, show Game Genie button on cheats dialog for it, do Toolbox logic
2014-01-07 01:12:48 +00:00
adelikat
aa93d8f04e
Cheats - do AskSave() in Restart()
2014-01-01 15:56:47 +00:00
adelikat
f9a847728c
Cheats - fix bug where when editing a cheat, changing the address or domain was causing it to insert not update
2014-01-01 15:50:33 +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
3784256e56
Cheats form - some more code refactoring/cleanup
2014-01-01 02:02:23 +00:00
adelikat
a7bf93a85c
Cheats - remove duplicate button and menu item, since duplicates aren't allowed. And some minor code cleanup while I'm at it
2014-01-01 00:07:24 +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
7acc64c37e
Add Geneis Game Genie to toolbox, and re-enable the feature but INTERIM flag it
2013-12-22 20:38:36 +00:00
adelikat
2448ad0dda
Wire up the Genesis Game Genie Encoder/Decoder to the GPGX core, but disable it since it doesn't seem to work right now
2013-12-22 20:25:43 +00:00
adelikat
6d741f4bfc
Cheats - add "View in Hex Editor" to the context menu
2013-12-21 15:01:12 +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
af6369e14c
Fix behavior of remove in Ram Watch and Cheats too
2013-11-25 23:41:08 +00:00
adelikat
3d48a0b39e
Lua Console - fix behavior of Save Changes nag, fix deleting of items
2013-11-25 23:38:10 +00:00
adelikat
5bbed4a58f
Fix behavior of Movie Up/Down in tool dialogs
2013-11-25 23:24:26 +00:00
adelikat
720cf763cd
More code refactoring
2013-11-25 02:08:45 +00:00
adelikat
345b628dad
Some more misc code cleanup
2013-11-25 00:55:56 +00:00
adelikat
701392f43c
Cheats - fix updating values on dialog load
2013-11-19 19:28:37 +00:00
adelikat
c076931d0c
clean up NES namespace
2013-11-14 13:15:41 +00:00
adelikat
9266cafd2a
Another round of BizHawk.Emulation namespace changes
2013-11-13 23:36:21 +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
0b71e4d08c
Some fixes to the ToolManager and make cheats not redraw every frame
2013-11-07 20:33:29 +00:00
adelikat
1061add64f
Refactor MemoryDomains in IEmulator, make a MemoryDomainsList object rather than IList<MemoryDomain>, remove MainMemory from IEmulator and make it a property of this new collection object, also add indexing by name. Refactor cores and tools as needed
2013-11-06 02:15:29 +00:00
adelikat
6f29976e9d
Cheats - fix bug where compare is 0 when clicking a cheat with a null compare value, refactor CheatList.Add() to be upsert logic
2013-11-05 23:14:22 +00:00
adelikat
92f8f9982c
When adding a cheat, if it already exists, update the existing instead of doing nothing!
2013-11-05 19:53:49 +00:00
adelikat
76de0c4bdd
Cheats - default compare box to empty, not 0
2013-11-05 19:46:27 +00:00
adelikat
4aae8a1311
Cheats - implement editing (oops, it was released without it!), fix value display (was showing the actual ram value, not the cheat's override value), don't flag changes if erroneously adding an existing cheat.
2013-11-05 19:33:06 +00:00
adelikat
9bbd8a07a6
fix an oops in last commit, and fix adding cheats via Cheats cheat form
2013-11-05 17:07:34 +00:00
adelikat
8a2a673528
Rename CheatForm.cs to Cheats.cs
2013-11-05 16:40:54 +00:00
adelikat
0a0487850d
Fixes to ram watch and cheats closing events and restarting and asking to save changes, some of these are regressions from refactoring, some from the rewrite of these tools, and some have been this way since day 1
2013-11-05 16:37:05 +00:00
adelikat
29dffc9bca
fix some false Ask to save changes nagging done by the cheat form
2013-11-04 21:02:36 +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
9751fd5a1a
Move interfaces and base implemenations from emulation to emulation.common
2013-11-04 01:39:19 +00:00
adelikat
589758f74d
rename GlobalWinF to GlobalWin, yeah, I'm being nitpicky
2013-11-03 16:07:58 +00:00
adelikat
c669680e07
Rename Multiclient folder
2013-11-03 04:05:56 +00:00