adelikat
9584ff1f53
use switch expressions in some various places in EmuHawk, and some other simplifications
2020-03-04 20:18:43 -06:00
J.D. Purcell
f7174eb398
Make display scaling apply to InputRoll column header widths.
2020-02-17 12:34:37 -05:00
adelikat
626efe8caf
put control extension methods into the EmuHawk names space isntead of a custom one. We want these to be found and used, and most dialogs use them
2020-02-03 12:54:32 -06:00
adelikat
c2bec296e6
simplify some repeated boilerplate on the DragEnter event by consolidating it to an extension method
2020-02-03 12:42:28 -06:00
YoshiRulz
7062ba5b6a
Clarify "Autoload" text (from #971 )
2020-01-13 01:54:15 +10:00
adelikat
1aa318d7e1
use ToolFormBase properties instead of globals
2019-12-22 10:57:06 -06:00
adelikat
c6b6e7b6cb
pass Config into ToolManager
2019-12-22 10:57:05 -06:00
adelikat
ae7221988b
cheats code cleanup
2019-11-02 11:25:11 -05:00
adelikat
b54be19e9e
InputRoll - reorg - put in its own folder, break out column and cell classes into separate files
2019-10-26 16:49:52 -05:00
alyosha-tas
3f216fb4a4
Disable cheats hotkey
2019-10-21 14:18:25 -04:00
adelikat
5826d584cc
convert cheats dialog to use InputRoll
2019-10-18 21:43:34 -05:00
James Groom
90b0574bc3
Remove unnecessary calls to ToList (e.g. in foreach)
...
squashed PR #1591
2019-10-13 15:50:57 +00:00
YoshiRulz
e6374ef477
Use string interpolation
2019-03-19 00:06:37 +10:00
adelikat
0d4313af91
general Cheat code cleanup
2017-05-18 15:16:02 -05:00
nattthebear
ebe789eed2
heh
2017-05-10 07:45:23 -04:00
adelikat
c61d432fd6
Don't position tools to last saved position if that position is not visible on screen
2017-02-21 16:57:47 -06:00
adelikat
0213755d16
Cheats - when editing a cheat's domain, if the address is out of range, don't update, rather than create a separator, fixes #539
2016-11-12 09:00:36 -06:00
zeromus
a7d2b8d7f7
* add a new IToolForm update mechanism which has extensible update points (so a tool can both pre- and post- update)
...
* make trace logging "core-pushes" model, to a sink installed by the frontend. This sink can go straight to the disk without wasting memory if that's what the Trace Logger tool has selected; or the Trace Logger will buffer it if it needs to. Formerly, we had a "core-pushes-to-buffer" and "client-pulls-once-per-frame" which necessarily caused huge buffers no matter what was going on.
2016-08-13 15:31:26 -05:00
Adam Sturge
c82f70763e
Fixed bug where having no comparison type would throw exception
2016-02-09 20:33:44 -08:00
Adam Sturge
f19333dd11
Prettied up display of comparison type in cheats table
2016-02-05 20:33:21 -08:00
Adam Sturge
092b5da974
restored [ConfigPerist].
2016-02-05 19:33:31 -08:00
Adam Sturge
c9dd10e8c0
Added comparison type column. Tied to debug issue where the column disappears from settings before being added to UI, couldn't figure it out without removing the [ConfigPersist] attribute from the Settings variable
2016-02-03 21:37:08 -08:00
adelikat
6f75ef6dba
Move another function to ToolFormBase
2016-01-30 21:07:03 -05:00
adelikat
894a9c2318
Rework ToolHelpers from a static object to ToolFormBase that inherits form and have a lot of tools inherit it, in hopes of moving a lot of copy pasta into a base class, move a few functions that show up a lot there
2016-01-30 20:24:53 -05:00
adelikat
7654374682
Cheats - use the integrated tool instead of the one-off platform specific tools
2015-12-20 12:38:59 -05:00
adelikat
c1b8e6c1d1
Cheats - fix bug where it was using the recent ram watch list instead of the recent cheats list
2015-12-04 23:03:13 -05:00
adelikat
26f1c2c2ec
Cheat Dialog - fix issue #535 - domain list does not update when changing cores
2015-11-04 22:23:27 -05:00
zeromus
91f2d36a37
fix some flakiness in the cheat editor dialog. i can't describe it more precisely than that.
2015-10-15 01:21:05 -05:00
adelikat
74025d82c9
Clean up ToolHelpers.cs and reduce a lot of boilerplate code
2015-09-05 21:39:57 -04:00
adelikat
3d28d0dc5d
Cheats - refresh list when toggling the status of a cheat
2015-09-05 20:47:28 -04:00
adelikat
6d4dea9a14
Don't attempt to remember tool window size/position if tool is minimized/maximized, this fixes issue #491 but also fixes the bug in every tool (unless there is a tool that does not implement IAutoToolFormConfig that I missed in this changeset)
2015-09-05 17:05:14 -04:00
zeromus
5402f1ff9e
dont reorder cheats list when editing cheats
2015-08-04 22:25:58 -05:00
adelikat
82bda9006a
Cheats dialog - never ask to save changes, the cheat system is independent of the dialog and makes intelligent decisions already, no need to annoy the user
2015-01-27 00:44:13 +00:00
adelikat
515a41592c
Convert a whole bunch of ram stuff from int to long
2015-01-18 18:59:23 +00:00
adelikat
6507fa5d92
Hex Editor - convert addresses from int to long, fixes Go to address on 32bit domains, highlighting on addresses after 7FFFFFFF is still busted though
2015-01-18 18:01:27 +00:00
adelikat
fbdb29b64c
refactor IMemorydomains to be a domain list instead of having a domain property, refactor cores to register an IMemoryDomains instead of being one
2015-01-14 21:55:48 +00:00
adelikat
6fad387840
Cheats - don't start a new list on Restart(), the mainform manages the cheat list, the cheat dialog is merely a UI for that list
2015-01-02 20:33:30 +00:00
adelikat
31823693ae
Cheats, Ram Watch - Fix bugs in column hide/show in new system
2015-01-01 01:21:06 +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
dba923d8b9
Cheats - auto-generate the Columns submenu instead of boilerplate
2014-12-31 23:48:39 +00:00
adelikat
ace8192c8a
Cheats dialog - refactor and simplify how column info is saved and loaded
2014-12-31 23:28:50 +00:00
adelikat
d809da1e8d
Cheats dialog - convert to using ConfigPersist, and simplify some code
2014-12-31 22:16:22 +00:00
goyuken
ea47246658
remove the IEmulator inheritance from some services, and fix code as needed
2014-12-15 22:25:06 +00:00
goyuken
7b580e7dca
tim the tool form taylor
2014-12-15 03:19:23 +00:00
adelikat
94bd987a73
Convert Cheats to EmuatorServices
2014-12-13 22:57: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
adelikat
e6e2972e3d
Make IMemoryDomains inherit IEmulator and simplify some code slightly as a result
2014-11-23 16:03:04 +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
c988466942
Convert some more toolhelper methods to extensions
2014-07-28 02:10:31 +00:00