Commit Graph

15301 Commits

Author SHA1 Message Date
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
adelikat 71aaf349b5 Fix GPGX one off hack to fix trace logger, and instead do a less bad hack in CallbackBasedTraceBuffer 2019-12-15 12:13:10 -06:00
YoshiRulz 05801dc2c5
Reduce LINQ usage in Lua subsystem 2019-12-16 04:08:22 +10:00
adelikat 91ef301a23 memory callbacks - log error if a scope is passed in that is not available 2019-12-15 12:02:43 -06:00
adelikat 9676fd97df cleanup 2019-12-15 11:52:55 -06:00
adelikat a5d7c98daf some gpgx code cleanups 2019-12-15 11:50:21 -06:00
adelikat 1d741f3d0e memorycallbacks - rename domain param to scope to avoid confusion, otherwise it looks like any memory domain will do 2019-12-15 11:42:26 -06:00
adelikat 29e284c6f8 cleanup 2019-12-15 11:40:22 -06:00
adelikat 250bd2087e fix lua memory callback functions on cores with no system bus such as PSX 2019-12-15 11:37:45 -06: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
YoshiRulz 2f494003c7
Add param to IList.ToLuaTable extension and refactor bizstring.split
Changed behaviour when said Lua function is called with a misformatted separator
param, and updated its docs
2019-12-16 01:58:19 +10: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 8bb9cee9c2
Write version to config (for migration check to be implemented later) 2019-12-16 00:44:40 +10:00
YoshiRulz e58f2811dc
Replace config bool `UseNLua` w/ enum 2019-12-16 00:38:22 +10:00
alyosha-tas d3c04bcd4e O2Hawk: Keyboard support 2019-12-15 09:24:32 -05:00
James Groom 9162c8d246
Merge pull request #1739 from TASVideos/lua-via-apihawk
Delegate Lua API to ApiHawk
2019-12-15 11:47:20 +00: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
alyosha-tas ef046d60c8 O2Hawk: Bug Fixes, controller support 2019-12-14 11:46:45 -05:00
James Groom 3099a11a04
Merge branch 'master' into lua-via-apihawk 2019-12-14 16:17:14 +00: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 a84213562f vandal cleanups 2019-12-14 18:50:11 +03:00
feos dfa73eceef mame syncsettings 2019-12-14 18:50:11 +03:00
YoshiRulz 3f9b51f565
Partially revert #1754, add event.onmemoryexecuteany 2019-12-14 16:47:29 +10:00
alyosha-tas bd7233f2cd O2Hawk: start displaying stuff and making sound 2019-12-13 20:43:33 -05: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
adelikat 06e1149cfe a bit of cleanup 2019-12-13 12:35:51 -06:00
adelikat b080d6d09e
Merge pull request #1754 from warmCabin/all-memory-execute
All Memory Execute
2019-12-13 07:40:41 -06:00
YoshiRulz 185337d1c5 Replace assembly references with NuGet packages where possible 2019-12-12 03:56:46 +00:00
warmCabin 201a4b85a4
remove default value for address
<adelikat> The reason we throw an error originally is my concern is that it would be easy to leave out an address in a script, and that it would have huge concequences.

<adelikat> I think address should not have a default value here and make the user explicitly add nil if they want this functionality.
2019-12-11 12:44:54 -05: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
warmCabin 715761f563
unit? 2019-12-10 23:23:40 -05:00
warmCabin baca4e2af8
allow onmemoryexecute to have null address 2019-12-10 23:02:18 -05:00
warmCabin e7374447f3
make onmemoryexecute address default to null 2019-12-10 22:59:35 -05: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