Commit Graph

4436 Commits

Author SHA1 Message Date
adelikat 8fcd9bb2a5 rename DisplayConfigLite to DisplayConfig, it isn't very Lite anymore :) 2019-12-16 18:41:54 -06:00
adelikat 8eff248d96 cleanup DisplayConfigLite 2019-12-16 18:39:59 -06:00
adelikat 5e8a2a348a Delete unused DisplayConfig form 2019-12-16 18:37:23 -06:00
adelikat da6f358589 ControllerConfig - pass in dependencies 2019-12-16 18:36:31 -06:00
adelikat 583423b0d2 ControllerConfig - code cleanup 2019-12-16 18:27:58 -06:00
adelikat 7d961c34f1 Autofire Config - pass in dependencies 2019-12-16 18:22:41 -06:00
adelikat 88830fad4c code cleanup 2019-12-16 18:18:08 -06:00
adelikat de6979820d ZXS config dialogs - pass in dependencies 2019-12-16 18:14:21 -06:00
adelikat c722a1ef9f code cleanup in ZxSpectrum config dialogs 2019-12-16 18:03:26 -06:00
adelikat 7675e35d85 TI83 settings - pass in dependencies 2019-12-16 17:58:50 -06:00
adelikat 4a332c1fb0 SNES config dialogs - pass in dependencies 2019-12-16 17:53:54 -06:00
adelikat 4a509fa410 pass in dependencies to SMS graphics config dialog 2019-12-16 17:44:18 -06:00
adelikat 47dfdb5190 remove unused Saturn config folder 2019-12-16 17:23:25 -06:00
adelikat 3da1972a61 rename PSXControllerConfigNew to PSXControllerConfig 2019-12-16 17:22:35 -06:00
adelikat ea8ed79402 PSX config dialogs - pass in dependencies 2019-12-16 17:21:49 -06:00
adelikat bdc8be2f6b declare dependencies in PCE config dialogs 2019-12-16 17:06:29 -06:00
YoshiRulz 0fcb6cbaa7
ApiHawk refactoring and cleanup
MemApi.ReadByteRange now returns the requested number of bytes and not 1 extra,
MemApi.ReadByteRange now warns only once per call for addrs outside range,
MemApi.ReadByteRange now warns for negative addrs (once per call; previous
implementation passed negative addresses to PeekByte), MemApi.WriteByteRange now
warns only once per call for addrs outside range, MemApi.WriteByteRange now
warns for negative addrs (once per call; previous implementation passed negative
addresses to PokeByte)
2019-12-17 02:39:04 +10:00
YoshiRulz 0b43b35427
Migrate GuiLuaLibrary to ApiHawk delegation
Changed param clear of IGui.DrawNew from bool? to bool (default value remains
true), made IGui and GuiLuaLibrary inherit IDisposable, added
GetDefaultTextBackground to IGui, applied fix from 6b3071d8a to
GuiApi.DrawString, replaced background box drawn by Lua API
gui.drawString/gui.drawText with what I think is a shadow (now matches
GuiApi.DrawString)
2019-12-16 16:54:06 +10:00
YoshiRulz 8f93a954e1
Move Lua hacks to Lua libs
Changed parameter of IInputMovie.SetRerecordCount to ulong to match internal
2019-12-16 15:04:35 +10:00
adelikat 861f238cc1 quickNes settings - pass dependencies in 2019-12-15 17:01:25 -06:00
adelikat e84fd17784 support subneshawk for VS menu items, pass dependencies into VSSettings 2019-12-15 16:55:40 -06:00
adelikat 8cc02b8956 NesSyncSettingsForm - pass dependencies in and support SubNesHawk 2019-12-15 16:47:48 -06:00
adelikat e6ac894955 nes config dialogs - pass in dependencies 2019-12-15 16:40:43 -06:00
adelikat 16be999cbc NES graphics config - pass in dependencies 2019-12-15 16:36:46 -06:00
adelikat 827825bbf3 N64 plugin config - pass dependencies in 2019-12-15 16:27:48 -06:00
adelikat 5ec3ac021e N64 plugin config code cleanup 2019-12-15 16:22:51 -06:00
adelikat 0b19090fc2 N64 controller config - pass dependencies in 2019-12-15 16:20:08 -06:00
adelikat a58411efa0 Intellivision config - pass dependencies in 2019-12-15 16:13:31 -06:00
adelikat 394641f2af GB config - pass dependencies in 2019-12-15 16:11:19 -06:00
adelikat a39cedb366 GB config code cleanup 2019-12-15 16:06:33 -06:00
adelikat f833d50f30 code cleanup of config dialog files 2019-12-15 15:57:46 -06:00
adelikat 8c5b13097a refactor coleco config dialog 2019-12-15 15:55:05 -06:00
adelikat 5fb547a09c refactor CPC config dialogs to declare dependencies in constructor 2019-12-15 15:52:04 -06:00
adelikat ad8f321ea1 Add event.availableScopes(), fix LogWithSeparator, cleanup 2019-12-15 12:25:49 -06:00
YoshiRulz 05801dc2c5
Reduce LINQ usage in Lua subsystem 2019-12-16 04:08:22 +10:00
adelikat b6df55bbf0 fix double new line in lua console.log() 2019-12-15 10:18:58 -06:00
adelikat 5d03062c4c remove redundant console checks in console logging methods 2019-12-15 10:06:31 -06:00
adelikat d2f21f84e3 another extension method for lua table creation 2019-12-15 09:46:39 -06:00
adelikat 7ebfd42229 Simplify some lua table creation with an extension method 2019-12-15 09:22:10 -06:00
adelikat d955c468db refactor LuaHelper into an extension method class, and some nitpick cleanups 2019-12-15 09:05:33 -06:00
YoshiRulz e58f2811dc
Replace config bool `UseNLua` w/ enum 2019-12-16 00:38:22 +10:00
YoshiRulz e6cb74d314
Partially migrate EmuHawkLuaLibrary to ApiHawk delegation 2019-12-15 04:40:01 +10:00
YoshiRulz f8dc18c1bd
Migrate SavestateLuaLibrary to ApiHawk delegation
includes backwards-compatible API change
2019-12-15 04:39:16 +10:00
YoshiRulz cc8dffa769
Migrate InputLuaLibrary to ApiHawk delegation 2019-12-15 03:59:21 +10:00
YoshiRulz 104c17e77c
Prepare for EmuHawk-tied libraries to delegate to ApiHawk
Made ApiContainer inherit from APISubsetContainer, added
DelegatingLuaLibraryEmu, and reworked init logic in EmuLuaLibrary
2019-12-15 03:52:48 +10:00
adelikat 51df281d38 Tastudio - fix NRE when running a .tasproj through the normal movie system, making changes, then opening tastudio 2019-12-14 09:58:10 -06:00
adelikat 03dbcc3607 Tastudio - tweak follow cursor logic in horizontal orientation 2019-12-13 18:29:30 -06:00
adelikat 858aef59db TAStudio - fix erroenous use of RefreshTasView when hiding/showing columns 2019-12-13 17:49:11 -06:00
adelikat 5e40305d1c fix recent regression if auto-load is set, and default.tasproj is the most recent movie 2019-12-13 17:40:39 -06:00
adelikat 001eeba4f9 Tastudio - fix ReselectCLipboard hotkey 2019-12-13 17:36:07 -06:00
adelikat a77b7ce2fc TAstudio - fix NRE that can happen from a sloppy right-click that causes a sloppy right-click context menu to open 2019-12-13 17:33:54 -06:00
adelikat 4d3c423f15 setup another a7800 config dialog to pass in dependencies 2019-12-13 16:06:12 -06:00
adelikat 92768858f7 atari7800 settings dialog - set up a pattern of constructor declaring dependencies in the constructor, rather than relying on Global variables. We should be doing this for other dialogs (and in general) 2019-12-13 16:01:04 -06:00
adelikat 2c66e3043c a bit more cleanup 2019-12-13 15:44:50 -06:00
YoshiRulz 185337d1c5 Replace assembly references with NuGet packages where possible 2019-12-12 03:56:46 +00:00
adelikat 24d84f3f08 Tastudio - don't setup columns when loading a file, the file has the column settings 2019-12-11 11:43:05 -06:00
adelikat 515f409246 Tastudio - Make mainform hotkeys out of a bunch of built in hotkeys 2019-12-10 19:26:23 -06:00
YoshiRulz f309c831b3
Move icons out of InitializeComponent
cc9ff8022
2019-12-11 06:58:53 +10:00
adelikat f900a1ba69 Tastudio - fix another usage of ShortCut instead of ShortCutDisplayStr in the context menu 2019-12-10 14:28:48 -06:00
adelikat a05fdfe18c Tastudio - show binded hotkey in context menu for Clear/Insert/Delete/Clone instead of the hard-coded path. Also use ShortcutDisplayStr instead of ShortCut for Insert # Frames context menu item 2019-12-10 14:17:05 -06:00
adelikat c70d2e5cd8 InputRoll - fix a few places where total width was used instead of clip rectangle 2019-12-10 12:36:20 -06:00
adelikat 599415c848 InputRoll - Resize does need a refresh, use FastDraw to minimize the lagginess 2019-12-10 12:36:20 -06:00
YoshiRulz 4e381d944b
Cleanup ApiManager.Register 2019-12-09 20:11:12 +10:00
Brian Armstrong cfd6d7d83b ApiManager should add APIs from Common
Without these, External Tools can't see most of the APIs
2019-12-09 10:01:01 +00:00
adelikat 373979395d Tastudio - reset branch and marker columns when switching movies 2019-12-08 14:46:58 -06:00
adelikat 35fdb5dbdd Tastudio - Integrate branches with the statusbar slot icons 2019-12-08 13:53:36 -06:00
adelikat fff85d917a Fix typo 2019-12-08 13:41:52 -06:00
adelikat 43c9ac7ef7 SImplify some code 2019-12-08 13:40:59 -06:00
adelikat 8802d75527 Game Game.IsNullInstance a null-safe extension method, and a few other cleanups 2019-12-08 13:36:15 -06:00
adelikat 6ae1eac464 better handling of tastudio interaction with select slot, previous slot, and next slot functions 2019-12-08 13:01:55 -06:00
adelikat a6eee3681f InputRoll - do a full refresh if rowcount gets smaller and the last row is visible 2019-12-07 14:35:15 -06:00
adelikat 1a88bfa93d cleanup Nametable and PPU viewer code 2019-12-07 13:23:55 -06:00
adelikat b33829c3a1 Hex Editor - don't draw address column on UpdateValues 2019-12-07 12:59:01 -06:00
adelikat daeeed0d2e InputRoll - remove unnecessary refresh in the OnResize event, fixes laggy resizing 2019-12-07 12:43:49 -06:00
adelikat 6107bc4553 TasMovie - rip out input caching attempt that wasn't even working 2019-12-07 12:21:42 -06:00
YoshiRulz cc9ff8022c
Re-add images; it appears that the Designer is now dropping them 2019-12-08 04:20:54 +10:00
adelikat 70bb840f20 cleanup 2019-12-07 10:31:00 -06:00
adelikat d594737a76 inputroll - only calculate horizontal positions in horizontal mode 2019-12-07 10:31:00 -06:00
adelikat f3b49648cc Ram Search/Watch - refresh in UpdateValues with RowCount instead of Invalidate() now that RowCount has optimized redraw logic 2019-12-07 10:31:00 -06:00
adelikat 7a66cddf03 InputRoll - more fixes 2019-12-07 10:31:00 -06:00
adelikat ea6704a2b8 InputRoll - in horizontal orientation, account for the draw area being shorter than the height of the columns 2019-12-07 10:31:00 -06:00
adelikat 0d2770044a cleanup 2019-12-07 10:31:00 -06:00
adelikat d8f0dca586 inputroll - drawing fixes 2019-12-07 10:31:00 -06:00
adelikat 421c460d68 InputRoll - get Horizontal orientation invalidating logic going and fix some bugs in horizontal drawing logic 2019-12-07 10:31:00 -06:00
adelikat 891df3512a MarkerControl - do full refresh on restart 2019-12-07 10:31:00 -06:00
adelikat 6a775ec346 InputRoll - fixes 2019-12-07 10:31:00 -06:00
adelikat 0e03696b93 InputRoll - do not draw column header if not necessary 2019-12-07 10:30:59 -06:00
adelikat ae239a0b1d InputRoll - only invalidate the necessary rectangle size 2019-12-07 10:30:59 -06:00
adelikat bb5267d042 InputRoll - drawing - use e.ClipRectangle instead of width/height to draw 2019-12-07 10:30:59 -06:00
adelikat 813e5820ae InputRoll - CalculateLagFramesArray - attempt to not calculate calculated properties so much 2019-12-07 10:30:59 -06:00
feos 48e39a72d1 add arcade menu 2019-12-07 17:44:49 +03:00
adelikat bcfdd79f2a IControlRenderer - simplify api 2019-12-06 21:56:34 -06:00
adelikat 21a0b65305 Tastudio - fix mouse up logic, only navigate if in bool painting mode 2019-12-06 21:19:35 -06:00
adelikat 70840c1b54 remove some unused code, and a few other misc cleanups 2019-12-06 19:22:54 -06:00
adelikat 7d8522e0b3 Remove snowy null emulator option and simplify Null Emulator 2019-12-06 18:42:00 -06:00
adelikat f944cd65a7 Tastudio - LoadState() - properly dispose of IDisposables, avoid unnecessary .ToArray() call 2019-12-06 17:20:01 -06:00
adelikat 7ac720d931 Tastudio - use global references less in favor of internal properties 2019-12-06 17:14:27 -06:00
adelikat 0c3cb5b053 Tastudio - simplify PoitnCellChanged handler, lot's of if checks that were always true 2019-12-06 17:01:40 -06:00
adelikat 2b3a114e1e Tastudio - fix improper invalidation caused by waiting until mouse up to invoke navigation 2019-12-06 15:19:34 -06:00
YoshiRulz 7f07949816
Migrate serialised images to separate files, removing duplicates 2019-12-07 05:24:24 +10:00