Commit Graph

4779 Commits

Author SHA1 Message Date
adelikat 86078addd4 move DefaultControls class to its own file 2020-01-21 13:42:17 -06:00
YoshiRulz e4827929b8
Parse float with invariant formatting (resolves #1806) 2020-01-22 04:40:16 +10:00
adelikat 04a5db6214 break AnalogBind out of Config.cs into its own file 2020-01-21 09:21:12 -06:00
adelikat 2182b6b35d move CDL config variables out of Config.cs and use ConfigPersist 2020-01-21 09:02:42 -06:00
adelikat 3d833af617 break out enums from Config.cs 2020-01-21 09:02:42 -06:00
zeromus 1c2453088f remove msvcr 2012 bootup check 2020-01-20 17:29:10 -05:00
adelikat 9f06e442ab move hex editor colors from Config to the tool itself using ConfigPersist 2020-01-20 15:58:32 -06:00
YoshiRulz b1ef7bcbbb
Retarget .NET Framework from 4.6.1 to 4.8 2020-01-21 04:42:09 +10:00
YoshiRulz ebfccf51de
Add DependentUpon and SubType modifiers to globbed files 2020-01-20 10:29:27 +10:00
zeromus 6377d78098 firmwares open folder:
don't know what was going on here, but we can't browse to a folder without it existing.
I think the best thing to do in this case is to prompt the user if it doesnt exist and offer to create it
But we don't really do this in very many places so it isnt worth the trouble to make a nice solution for it.
Anyway this commit will make it stop CRASHING on new bizhawk installs, generally, which is an improvement
2020-01-19 18:43:54 -05:00
adelikat b1d5a4d644 Convert TI83 keypad to use IToolFormAutoConfig and ConfigPersist 2020-01-19 13:48:26 -06:00
adelikat 3414cc1d33 Merge branch 'release' 2020-01-18 16:19:03 -06:00
adelikat 1cd5675ce0 Tastudio - fix crash when trying to use alt+drag after autoloading a .tasproj 2020-01-18 15:59:37 -06:00
adelikat 41c4c8a951 oops 2020-01-18 15:52:01 -06:00
adelikat a08c0a394c Tastudio - better tracking of which frame to invalidate from when input painting, fixes #1790 2020-01-18 15:48:33 -06:00
adelikat f9435fb17f Lua - tastudio.applyinputchanges() - always refresh tastudio - fixes #1799 2020-01-18 14:53:12 -06:00
adelikat 67ff6abb17 Tastudio - fix clone input when cloing multiple rows 2020-01-18 13:35:22 -06:00
adelikat 1519110691 Always refresh the APIHawk library instances instead of checking for null, fixes #1791 2020-01-18 13:22:19 -06:00
YoshiRulz e435fb807b
Migrate to "new csproj", remove unnecessary tags/info, and dedupe
Didn't want to mess with resource generation so the execuable projects didn't
get migrated, just cleaned up
2020-01-19 01:43:39 +10:00
adelikat 246efa4c86 Tastudio - remove config option to turn off input painting, there's no reasonable scenario where no painting is better, some other slight cleanups 2020-01-17 16:04:01 -06:00
adelikat 8da1bb4e73 cleanup mainform menu item naming and using pattern matching instead of direct casts for core types when possible 2020-01-14 11:12:52 -06:00
adelikat e67cd79644 unlock vetrex core in path config, in preparation for officially releasing the core (should have been done last release 2020-01-13 18:56:19 -06:00
adelikat 63da3d7bd3 expose GenerateLogKey and Map as methods on ILogEntryGenerator and remove all the direct casting that was happening in tastudio code 2020-01-13 15:49:11 -06:00
YoshiRulz d6d9f76f76
Fix shift/ctrl/alt modifier keys with OpenTK input 2020-01-13 11:37:19 +10:00
YoshiRulz 126bb4736b
Move commented-out code blocks to #if false
CBB doing Cores or Bizware
2020-01-13 11:14:16 +10:00
YoshiRulz a8170ca183
Fix mismatching namespaces 2020-01-13 07:19:06 +10:00
adelikat f61189f141 BizBox - show text that indicates it is a developer build, if it is a developer build 2020-01-12 15:05:19 -06:00
YoshiRulz dd4f9aaf64
Use ranges 2020-01-13 06:59:40 +10:00
YoshiRulz 0f1fa1531f
Use ranges in ApiHawk and Lua 2020-01-13 06:57:24 +10:00
adelikat 9a88a94ddc remove old joke about box, you will be missed. 2020-01-12 14:55:59 -06:00
zeromus 8c50945ecb remove windows 7 nag. kept messages because it had some useful work in identifying various windows versions in case it's needed later 2020-01-12 15:23:00 -05:00
YoshiRulz 60b7858fbe Simplify Windows prereqs (see desc.)
* Changed default sound/display methods to OpenAL/OpenGL on Windows to match
non-Windows, and replaced DirectInput with OpenTK input (needs regression
testing on Windows).
* (meta) As a result of the above, DirectX is no longer a prerequisite, leaving
only: .NET Framework 4.6.1 (comes with Win10, as does 4.8), MSVC 14 (also comes
with Win10), MSVC 12 for Mupen, and MSVC 10 for BSNES/Mupen.
* Refactored static Program ctor, using ExceptionBox for missing prereqs, and
removed PrereqsAlert.
* Added OS version check for Windows, with a flag in the config to skip it.
* Updated readme for Win7 EOL (and generally cleanup Windows sections).
2020-01-12 20:00:34 +00:00
feos c330541c35 Revert "cleanup ArgParser"
This reverts commit 84593b2d48.
magical fix to magically broken avi dumping
2020-01-12 21:33:41 +03:00
adelikat a03ed17c8a path config - lock down some unreleased cores in release builds 2020-01-12 11:08:46 -06:00
adelikat 8ccbe94a38 don't enable VirtualPad uless controller definition has any button, don't enable Macro Input tool if no movie is active 2020-01-12 11:00:11 -06:00
adelikat eaca35d3d0 properly use TasMovie.Session - fixes #1771 2020-01-12 10:55:15 -06:00
YoshiRulz 7062ba5b6a
Clarify "Autoload" text (from #971) 2020-01-13 01:54:15 +10:00
YoshiRulz c38fb09d3c
Fix typos in strings and comments (from #971) 2020-01-13 00:22:01 +10:00
feos 2f64427199 the logic to automatically pick SaveAs if it's a new project is already there, so it's safe to enable the Save menu item
fix #1788
2020-01-12 13:48:42 +03:00
alyosha-tas 46d0818f09 MSXHawk: Core interface stuff 2020-01-10 15:51:56 -05:00
adelikat 8885b38281 quantizer code - space to tabs, other cleanups 2020-01-03 18:35:13 -06:00
adelikat 101a403420 cleanups in AV code 2020-01-03 18:25:46 -06:00
adelikat 9ab62d8cd3 some cleanup 2020-01-03 14:36:13 -06:00
adelikat ee84c92ada pass in dependencies to OpenAdvancedChooser 2020-01-03 14:19:42 -06:00
adelikat 6183d6e3a6 Don't use Global.Emulator in MacroInput.ButtonSelect 2020-01-03 14:12:13 -06:00
adelikat ba68a307df pass dependency into PsxHashDiscs 2020-01-03 14:09:00 -06:00
adelikat 57610488fe use globals a bit less 2020-01-03 13:59:39 -06:00
adelikat bea2012e0a BookmarksBranchesBox - don't use GlobalWin.OSD 2020-01-03 13:55:23 -06:00
adelikat 84593b2d48 cleanup ArgParser 2020-01-03 13:09:27 -06:00
adelikat 023da20cb9 Cleanup GamePad code, pass in mainform dependency 2020-01-03 10:38:04 -06:00
YoshiRulz 8540773435
Fix typo 2020-01-03 06:04:01 +10:00
YoshiRulz e7d0fb8299
Refactor/genericise MutableIntRange, add immmutables, add more methods
call now and I'll throw in not one but two float equality extensions for free
2020-01-03 03:32:51 +10:00
YoshiRulz 9ef32cf8f5
Merge ctors using default params, resolves a TODO 2020-01-02 22:10:42 +10:00
YoshiRulz 060255471b
Improve exception docs in BizHawk.Client.EmuHawk 2020-01-02 21:51:37 +10:00
adelikat 1fd9bd7b38 SoundConfig - pass in mainForm 2019-12-31 17:14:04 -06:00
adelikat eb438fd9cb pass in mainform to Keyboard.cs instead of using global 2019-12-31 17:06:40 -06:00
adelikat 9f86a2db6a cleanup Input.cs 2019-12-31 17:04:24 -06:00
adelikat 7de9309be1 Lua - pass in MainForm to the EmuHawkLuaLibrary class 2019-12-31 16:46:05 -06:00
adelikat 18975e390d use Globals less in Tastudio sub-components 2019-12-31 16:31:32 -06:00
adelikat 1c472ad253 Hex Editor - fix Delete hotkey not unfreezing secondary highlighted addresses, consolidate freeze/unfreeze logic 2019-12-31 13:40:09 -06:00
adelikat 15f1432462 Hex editor - some more simplifications 2019-12-31 13:18:12 -06:00
adelikat 12a3552bdd Hex editor - simplify slightly 2019-12-31 13:10:44 -06:00
adelikat c8c63f29f0 InputRoll - only refresh on mouseLeave if necessary 2019-12-31 12:41:21 -06:00
adelikat 098cac3f60 a few misc cleanups 2019-12-31 11:44:50 -06:00
adelikat b390c2829c cleanup virtualpad code 2019-12-31 11:36:22 -06:00
adelikat 0f33e2b1e7 cleanup display manager code 2019-12-31 11:14:10 -06:00
adelikat 7a3606d684 ArchiveChooser - fix code that attempted to sort archive files but didn't, and cleanup 2019-12-31 10:36:33 -06:00
adelikat 0082de7c0a cleanup Quantizer.cs 2019-12-31 10:24:57 -06:00
adelikat 64ea9afee5 cleanups 2019-12-31 10:17:55 -06:00
adelikat ca862d5581 Log Window - properly set logging back to the standard console output when closing 2019-12-30 17:14:58 -06:00
adelikat 67419c980a cleanup 2019-12-29 15:21:23 -06:00
adelikat 47eeba5053 Options config - re-position options now that console window option has been removed 2019-12-29 15:08:03 -06:00
adelikat 6e49f1c07d Convert LogWindow to a tool that implements IAutoToolformConfig 2019-12-29 15:05:45 -06:00
adelikat bdd0d56a70 delete the console log window, always show LogWindow instead 2019-12-29 14:39:44 -06:00
adelikat ab812ab081 pass in mainform to log window stuff 2019-12-29 14:16:44 -06:00
adelikat c2ff680992 some cleanups 2019-12-29 14:11:56 -06:00
alyosha-tas ec03c6fa0f Fix analog stick in virtual pad fixes #1612 2019-12-29 09:47:53 -05:00
alyosha-tas f1faf5988a EmuHawk: fix NES core picker, was broken by picking subneshawk due to the xor 2019-12-29 08:29:18 -05:00
feos 853af1c32a another fix to missing "file on disk" domain 2019-12-28 15:21:05 +03:00
YoshiRulz 50373ac1ad Move conditional PackageReferences to conditional .targets import
Fixes build system bug introduced by c31050feb
2019-12-27 16:35:47 +10:00
YoshiRulz c31050feb6
Migrate from packages.config to PackageReference 2019-12-26 16:54:33 +10:00
YoshiRulz 88ae783ef0
Partially revert 185337d1c, resolves #1766 2019-12-26 15:52:32 +10:00
feos cfce96c672 copypaste error 2019-12-23 19:28:51 +03:00
adelikat 5eee9a6004 misc tool cleanups 2019-12-22 16:42:56 -06:00
feos 0fe2205057 only mame .zip's should be filtered out 2019-12-23 00:29:33 +03:00
feos 47f77b42e9 forbid rom domain for mame 2019-12-23 00:12:43 +03:00
adelikat e7e30371fe Remove Rewinder from Global and put as a mainform variable instead 2019-12-22 14:25:06 -06:00
adelikat c101f672ee RewindConfig - pass in dependencies 2019-12-22 14:23:00 -06:00
adelikat afd460f1d2 pass in globals to Play/Record movie dialogs 2019-12-22 14:18:17 -06:00
adelikat 1332079f84 pass more globals into some config dialogs 2019-12-22 14:09:58 -06:00
adelikat 0b57b4c5f6 cleanups 2019-12-22 13:58:00 -06:00
adelikat 60c789df22 pass inGameInfo to N64VideoPluginconfig 2019-12-22 13:34:14 -06:00
adelikat 7ac3e1f428 TraceLogger - use ToolFormBase, cleanups 2019-12-22 13:32:18 -06:00
adelikat 1c57622032 refactor UpdateCheatRelatedTools to be a ToolManager method 2019-12-22 13:32:18 -06:00
adelikat 68e45d6108 MovieZone - pass in some dependencies and use globals less 2019-12-22 13:32:18 -06:00
adelikat 0207575695 MovieZone - cleanups 2019-12-22 13:32:18 -06:00
adelikat 87cd264ed2 MacroInput - less global, cleanup 2019-12-22 13:32:18 -06:00
adelikat 897bc0572e pass in dependencies to LuaAutocompleteInstaller 2019-12-22 13:32:18 -06:00
adelikat e0bb050bd1 ToolBox - remove Globa usage 2019-12-22 13:32:18 -06:00
adelikat 5f3ed8a766 pass dependency into LuaRegisteredFucntionsList 2019-12-22 13:32:18 -06:00
adelikat 2403f38bcc pass in LuaImp to LuaWinform, now the global usage is in the lua library, but baby steps 2019-12-22 13:32:18 -06:00
adelikat b9c0d11c16 pass mainform to BreakpointControl 2019-12-22 13:32:18 -06:00
adelikat ed45318a75 presentation panel - pass in dependencies 2019-12-22 13:32:18 -06:00
adelikat 640e4260cd MultiDIskBundler - cleanup, pass dependencies to child controls 2019-12-22 13:32:18 -06:00
adelikat 3b60b08a11 inherit ToolFormBase for a few tools 2019-12-22 13:32:17 -06:00
adelikat c20ae5b16c cleanup BasicBot 2019-12-22 11:39:40 -06:00
adelikat 0e218f5d4a hex editor - fix crash from previous commit, pass in dependencies to sub-forms 2019-12-22 11:26:55 -06:00
adelikat a7ccc3fdef cleanup 2019-12-22 11:13:59 -06:00
YoshiRulz 69702327d3
Fix typos from merge 2019-12-23 03:06:04 +10:00
James Groom 78fcde9480
Merge branch 'master' into winhacksbgone 2019-12-22 17:01:10 +00:00
adelikat 1aa318d7e1 use ToolFormBase properties instead of globals 2019-12-22 10:57:06 -06:00
adelikat c76dbbb977 rename ToolHelper.cs to ToolFormBase.cs since that is the name of the class 2019-12-22 10:57:06 -06:00
adelikat 77c04412d2 ToolManager - inject common things like config, mainform, and the tool manager itself to tools that inherit ToolFormBase 2019-12-22 10:57:06 -06:00
adelikat f8ed9f49eb slight cleanup 2019-12-22 10:57:06 -06:00
adelikat c162b2774d Mainform - a bit of cleanup 2019-12-22 10:57:06 -06:00
adelikat bd48ee7130 Tastudio - use Owner not MainForm 2019-12-22 10:57:06 -06:00
adelikat 0ca53ccfcb SoundConfig - move some mainform usage to mainform 2019-12-22 10:57:06 -06:00
adelikat 75fee8c4af pass in docs dependency to LuaFunctionsForm 2019-12-22 10:57:06 -06:00
adelikat eb6a2c3315 remove usages of Global to get to lua console, from lua console 2019-12-22 10:57:06 -06:00
adelikat c6b6e7b6cb pass Config into ToolManager 2019-12-22 10:57:05 -06:00
adelikat e0cd66613f remove ApiProvider from GlobalWin, and have ToolManager own it instead, keep a copy of IEmulator in ToolManager and reference that instead of Global.Emulator 2019-12-21 18:03:13 -06:00
adelikat 84a9dec7a8 ToolManager - some cleanups 2019-12-21 17:45:11 -06:00
adelikat 81b2b8c888 remove unused method 2019-12-21 17:21:39 -06:00
adelikat 1e41dbf20d LuaRegisteredFunctionsList - override Clear() so that needed clear logic can't be mistakenly not called. Fixes #1763 2019-12-21 17:16:16 -06:00
adelikat b80b367831 refactor IMovie to expose the movie mode, and make extension methods that do IsPlaying type logic. This way there can be direct checks, and more variety of methods without cluttering the interface 2019-12-21 16:34:29 -06:00
adelikat d26cb7d272 small cleanup 2019-12-21 15:55:01 -06:00
adelikat 7cfbd1cead simplify onscreen message drawing logic, fix MessageConfig dialog result when Ok is pressed 2019-12-21 15:48:50 -06:00
adelikat f5f22e78d8 Simplify on screen ram watch value positioining, and respect the anchor value setting 2019-12-21 15:36:37 -06:00
adelikat f5929602ff rename MessageOption to MessagePosition 2019-12-21 15:28:16 -06:00
adelikat 433eff65ec OSDManager - simplify calculations for points for things like fps, frame counter, etc 2019-12-21 15:24:50 -06:00
adelikat 9ae977ae12 OSDManager - a simplification 2019-12-21 15:04:54 -06:00
adelikat 18fbd9af1c MessageConfig - don't use Global.Emulator 2019-12-21 14:58:33 -06:00
adelikat 6748d32830 Message config - fixes, make Anchor an enum instead of int 2019-12-21 14:50:20 -06:00
adelikat 8e030c47b6 MessageConfig - simplify - use Color pen overload and remove brush variable 2019-12-21 14:23:43 -06:00
adelikat 8a96f5f2e7 MessageConfig - use change event on numberics 2019-12-21 14:21:12 -06:00
adelikat e7160a7387 MessageConfig - pass in config dependency 2019-12-21 14:16:23 -06:00
adelikat a565f6f299 refactor message display option settings to be an object, and simplify the message config dialog 2019-12-21 14:11:49 -06:00
adelikat b94a830f13 Message config refactor - fix some names, break off DefaultMessageOptions class into its own file 2019-12-21 13:22:22 -06:00
adelikat 98bfcabfe8 refactor Global.SystemInfo into an extension method class 2019-12-21 13:07:05 -06:00
adelikat c127d92296 PathConfig - remove unused hack 2019-12-21 12:51:51 -06:00
adelikat 5848cc5948 NESGraphicsConfig - remove some more global usage 2019-12-21 12:49:24 -06:00
adelikat bab3dbca98 cleanup PlatformChooser and don't use globals 2019-12-21 12:45:28 -06:00
adelikat 8ec8400ab2 Cleanup LogConsole 2019-12-21 12:41:13 -06:00
adelikat b65b9d64d7 DisplayManager cleanups 2019-12-21 12:33:45 -06:00
adelikat b93b4e449a simplify and cleanup GLManager 2019-12-21 12:03:21 -06:00
adelikat c42889ceef cleanup JumpLists.cs 2019-12-21 09:05:11 -06:00
adelikat e06799ce38 remove unused NameStateForm 2019-12-21 08:59:32 -06:00
adelikat 442ec14c76 cleanups in CoreFeatureAnalysis 2019-12-21 08:57:31 -06:00
YoshiRulz 7cd29c0f54
Finish moving Win32 imports to BizHawk.Common, organise, and cleanup 2019-12-21 18:33:11 +10:00
YoshiRulz 784c800ca2
Disable features using Win32 unless on Windows host
forms: GBAGPUView, GBGPUView, LogWindow, SNESGraphicsDebugger,
SynclessRecordingTools; features: A/V recording, logging to AWE(?)
2019-12-21 18:31:03 +10:00
YoshiRulz 580aa2eaf9
Refactoring and cleanup of dynamic lib loading
Also fixed error reporting in WindowsLLManager, and fixed bug in
MednaDisc.CheckLibrary
2019-12-21 18:22:58 +10:00
YoshiRulz 7ea8fb185a
Congregate, organise, and cleanup some Win32 imports and their usages 2019-12-21 18:21:51 +10:00
adelikat 7149b0ef65 rename FileLoader to MainForm.FileLoader to make it more obvious that it is a partial class of mainform 2019-12-20 11:27:34 -06:00
adelikat 88c937cd42 reduce global usage in FileLoader.cs 2019-12-20 11:25:26 -06:00
adelikat bc51ca4af0 MainForm - reduce global usage a bit more 2019-12-20 10:42:54 -06:00
adelikat c9c04032c7 MainForm cleanups 2019-12-20 10:40:13 -06:00
adelikat 24ed667c13 reduce global usage in MainForm more 2019-12-20 10:22:42 -06:00
adelikat bfb39e79d0 MainForm - setter for Config property 2019-12-20 10:08:20 -06:00
adelikat 8f6f8f72cb MainForm - more getter properties for globals 2019-12-20 10:07:08 -06:00
adelikat 62ab716a5d MainForm - convert some commonly used globals to properties that reference the global. A step twards the global not being there at all and mainform managing the passing of dependencies 2019-12-20 09:29:33 -06:00
adelikat 7ba8af1cb9 use AddOnScreenMessage method in other mainform files 2019-12-20 07:31:03 -06:00
adelikat f8fbc57780 cleanup 2019-12-20 07:31:03 -06:00
adelikat fb8ff37fe9 Mainform - use OnScreen method instead of GlobalWin.OSD references 2019-12-20 07:31:03 -06:00
adelikat 23f7274541 FileLoader - use Emulator not Global.Emulator 2019-12-20 07:31:03 -06:00
adelikat 4ac7e8e36a Rewind config - move osd messages to calling code 2019-12-20 07:31:03 -06:00
adelikat 06b11bba51 Simplify dialog result checks with an extension method 2019-12-20 07:31:03 -06:00
adelikat fd30ddc154 Message config - use OSD in mainform not config 2019-12-20 07:31:03 -06:00
adelikat aea444cea5 Controller config - simplify and remove use of GlobalWin.OSD 2019-12-20 07:31:02 -06:00
adelikat 4461818d26 ToolManager - cleanups, and don't use GlobalWin.Tools 2019-12-17 13:45:55 -06:00
adelikat 6bddec01d6 cleanup 2019-12-17 12:01:43 -06:00
adelikat 5fe25d03ad Play/Reocrd movie dialogs - pass in mainform 2019-12-17 11:24:34 -06:00
adelikat 35ff30cc01 cleanup LogWindow 2019-12-17 11:19:34 -06:00
adelikat d780b1c898 move InputWidget to custom controls folder 2019-12-17 11:15:50 -06:00
adelikat b271ef4a89 MenuButton - nitpick cleanup 2019-12-17 11:15:50 -06:00
adelikat 5c12753217 cleanup FolderBrowserDialogEx 2019-12-17 11:15:50 -06:00
adelikat d3cb2a4fb3 cleanup MsgBox 2019-12-17 10:48:20 -06:00
adelikat 1bea591e31 GenericCoreConfig - use passed in mainform instead of global 2019-12-17 09:53:19 -06:00
adelikat 28305339f9 VideoWriterChooserForm - pass in dependencies 2019-12-17 09:50:38 -06:00
adelikat 6be6dbbce6 cleanup VideoWriterChooserForm 2019-12-17 09:46:03 -06:00
adelikat ede9a7b788 get rid of Global usage in N64VideoPluginConfig 2019-12-17 09:42:53 -06:00
adelikat 5dd226db94 remove a GlobalWin.Mainform usage 2019-12-16 19:58:06 -06:00
adelikat c5b1328f77 Sound config - pass in Config 2019-12-16 19:54:40 -06:00
adelikat aede4e7cda Profile Config - pass in dependencies 2019-12-16 19:51:12 -06:00
adelikat cf647ffd04 profile config cleanup 2019-12-16 19:45:03 -06:00
adelikat dc26b67446 path config - pass in config dependency 2019-12-16 19:42:42 -06:00
adelikat d15641da96 InputCompositeWidget - slight cleanup 2019-12-16 19:34:19 -06:00
adelikat 0d78318fa1 HotkeyConfig - pass in dependencies 2019-12-16 19:33:14 -06:00
adelikat 0fcaca681e rename GuiOptions to EmuHawkOptions to match class name 2019-12-16 19:27:00 -06:00
adelikat 8dbc6c7f6d EmuHawkOptions - pass in dependencies 2019-12-16 19:26:32 -06:00
adelikat 38d6667c18 GenericCoreConfig - cleanup 2019-12-16 19:16:18 -06:00
adelikat 3bf8029e67 FirmwaresConfig - cleanup 2019-12-16 19:08:03 -06:00
adelikat f9e65e2fa7 FileExtensionPreferences - pass in dependencies 2019-12-16 18:51:06 -06:00
adelikat 8ccbc0b81f DisplayConfig - pass in dependencies 2019-12-16 18:45:40 -06:00
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