adelikat
9584ff1f53
use switch expressions in some various places in EmuHawk, and some other simplifications
2020-03-04 20:18:43 -06:00
adelikat
1337beed1b
remove designer null check hacks in favor of the intended DesignMode flag
2020-03-01 16:49:37 -06:00
J.D. Purcell
f7174eb398
Make display scaling apply to InputRoll column header widths.
2020-02-17 12:34:37 -05:00
adelikat
656f2b814e
Move IEmulator extensions to the Emulation.Common namespace, the intent is that these are used and serve as built in functionality, so it's overly tedious to when most situations require both Common and an additional extensions namespace
2020-02-15 12:33:15 -06: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
YoshiRulz
7f07949816
Migrate serialised images to separate files, removing duplicates
2019-12-07 05:24:24 +10:00
adelikat
22fdbd08d0
InputRoll - don't hardcode padding variables in the constructor
2019-11-26 12:51:36 -06:00
adelikat
56b33498d9
InputRoll - rip out the UseCustomBackGround flag, and only key off the existence of the override. Seems to be a speed hack, but the only attempt to make it faster (in ram watch) was actually making things slower
2019-11-26 12:33:39 -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
bc76a4a040
Cheats: typo fix
2019-10-21 14:30:34 -04: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
alyosha-tas
9ebe0d2531
Cheats: Toggle shortcut key function
2018-10-28 09:45:39 -05:00
adelikat
3d443b3e2f
Cheats - change button name from Game Genie to Code Converter. Cheat Code Converter - show a not supported message if user tries to enter a Game Genie code for SNES since we do not currently support that scenario
2017-06-27 21:06:36 -05: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
58410e6d3c
Removed Cheats.Designer.cs.bak file
2016-02-14 13:52:35 -08:00
Adam Sturge
4a4b23ac84
Adjusted CheatEdit.cs to allow for new drop down
2016-02-14 13:50:23 -08:00
Adam Sturge
8ff86fe6c4
Fixed toolbar icon size
2016-02-14 11:39:18 -08:00
Adam Sturge
c82f70763e
Fixed bug where having no comparison type would throw exception
2016-02-09 20:33:44 -08:00
Adam Sturge
447d312a5c
Highlighting a cheat now updates the comparison type drop down to reflect the appropriate value
2016-02-08 21:06:13 -08:00
Adam Sturge
c59f1c1761
Comparison type can be set if and only if comparison field is non-empty
2016-02-08 20:56:11 -08:00
Adam Sturge
52c587d712
Save/Load cheats now accounts for comparison type column
2016-02-07 21:40:14 -08:00
Adam Sturge
992acd9e96
Added code to sort by comparison type. Added code to compare based on comparison type selected
2016-02-07 20:56:40 -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
Adam Sturge
9959d61949
Added comparison type dropdown. Updated Cheat model to contain reference to comparison type
2016-02-02 20:32:46 -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
Hathor86
1e2f4e12be
Watch refactoring
...
Some improvement when you get Available types. Used to return a new
array each time you call the function. It has been transformed into an
IEnumrable and yield return.
DisplayType, PreviousType and Watchsize have been moved outside the
Watch Class
2015-11-28 22:52:00 +01: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
zeromus
7e9c966887
fix some weirdly bloated dialog box resx files simply by deleting their icons and re-setting them
2015-10-13 00:14:12 -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