Commit Graph

4937 Commits

Author SHA1 Message Date
adelikat 546ccda918 Lua - fix client.getavailabletools() 2020-05-16 15:31:01 -05:00
adelikat 2fc3fb53e5 lua - fix client library being null on null emulator 2020-05-16 10:04:11 -05:00
upthorn 109bdcfd37 Prevent crashes on Set*ExtraPadding
Prevent crashes when needing to invoke private methods from MainForm.
2020-05-14 16:55:16 -05:00
adelikat 599c6a9fa5 virtual pad support for GB 3x and 4x 2020-05-05 16:43:22 -05:00
zeromus 849c489630 fix display manager custom AR/size. broken by 45e0abe39d. fixes #1975 2020-05-05 13:09:58 -05:00
adelikat dea78aa81d BasicBot - fix Load event not being called on load 2020-05-05 13:04:18 -05:00
adelikat 80273b9e28 fix a bad refactor I did, fixes #1962 2020-05-01 18:15:48 -05:00
zeromus 50ee8ecf1e increase threshold of opentk gamepad (and joystick) analog -> dpad conversion. previously 12% wasn't even enough for an ANALOG DEADZONE (my joystick idles outside that range routinely), let alone a firm direction press. The old xinput gamepad threshold for this was ~60% so I made opentk match it
fixes #1961
2020-05-01 17:04:47 -04:00
adelikat 96119b7734 Lua console - use smaller stop icon that does not bleed into other rows 2020-05-01 15:50:19 -05:00
adelikat 345ae3b872 fix #1957 2020-05-01 15:32:44 -05:00
adelikat 3e8bad74a2 ensure that Tastudio is fully updated when doing cut/paste operations, should really fix #1956 this time 2020-05-01 15:14:49 -05:00
adelikat 2254098b9c Sync controls when loading a config file, fixes #1965 2020-05-01 15:02:37 -05:00
adelikat 83e685cfa1 Tastudio - remove unnecesary updates in GoToFrame(), since tastudio and other tools are already updated by other methods it calls 2020-05-01 14:26:48 -05:00
adelikat d1cb8d53ad Tastudio a few simplifications 2020-05-01 09:52:25 -05:00
adelikat a1c8c4ed3a Tastudio - create a FullRefresh() method that guarantees RowCount will be updated and all drawing will occur, but is slower, and use it in non-perormance situations such as copy/paste methods. Fixes #1956 2020-04-29 19:46:11 -05:00
adelikat 92db6b8b64 Tastudio - try to sort out when to fully redraw tastudio vs update row count 2020-04-29 19:39:18 -05:00
adelikat 9203f56eca tastudio - consolidate logic and always draw column emphasis (to show sticky state) when setting up columns, rather than only on load 2020-04-29 19:17:44 -05:00
adelikat 5252598aef tastudio - remove unnecessary setting of DialogResult 2020-04-29 19:10:57 -05:00
feos eec3cf44f2 fix #1837
while the project is open, the menu still doesn't update to account for this, but at least it can be saved properly now
2020-04-29 23:00:07 +03:00
zeromus b1d491d91f banish some unruly epsilons 2020-04-28 18:56:24 -04:00
zeromus 9c6834db17 fix bugs in "Display scaling by integer" caused by edits for NDS rotation (e45943c26a)
fixes #1958
2020-04-28 18:56:24 -04:00
zeromus cb5c49d11b fix more matrix sense snafus 2020-04-28 18:56:24 -04:00
adelikat 68251cdc55 tastudio - simplify a bit, move some methods and fields around, improve comemnts 2020-04-28 12:42:27 -05:00
feos a8472a77f3 cycle count: how low can we go? 2020-04-28 19:53:12 +03:00
adelikat c8ae659b19 Tastudio - simplify some redundant code 2020-04-27 20:26:51 -05:00
adelikat 80eacf88eb a few nitpick cleanups in Tastudio code 2020-04-27 16:51:42 -05:00
adelikat 8a6868be4a fix an unnecesary use of Global 2020-04-26 14:32:01 -05:00
adelikat 8ace823682 "fix" inability to open tastudio if default.tasproj was saved with a different system, the unnecessary save on load was necessary afterall, this code is bad. Fixes #1937 2020-04-26 14:21:14 -05:00
adelikat 7484fc1ad2 Revert "Tastudio - fix regression where default.tasproj is loaded if the file exists, fixes #1937"
This reverts commit 49395b435f.
2020-04-24 18:47:49 -05:00
adelikat fb443f262c Customize dialog - lua options - don't claim the default option is "use at yoru own risk" 2020-04-24 17:33:23 -05:00
adelikat 49395b435f Tastudio - fix regression where default.tasproj is loaded if the file exists, fixes #1937 2020-04-24 17:07:32 -05:00
adelikat d06ddc04e1 InputRoll - only attempt to remove selected items beyond rowcount if there are selected items past that count, this may fix the underlying issue in #1822 2020-04-24 16:41:08 -05:00
adelikat 4c6c1c2613 fix crash when loading a .tasproj in tasutdio fixes #1938 2020-04-24 14:43:31 -05:00
adelikat e3682dca05 oops 2020-04-24 13:48:05 -05:00
adelikat d4c8615e95 remove unused usings and other redundancies 2020-04-23 20:33:18 -05:00
zeromus 601e489b15 change NDS firmware color to DropDownList 2020-04-23 21:25:08 -04:00
zeromus 8d92b4b258 use that new PutSettingsDirtyBits effectively for melonds 2020-04-23 21:24:14 -04:00
zeromus 10bceeb0dc Nope, I think it's a good idea now.
Revert "This reverts commit c878c85daeaaf0cae3e28f24bc1a8b511293d7b6."
This reverts commit 1d1f2a18c6.
2020-04-23 21:20:59 -04:00
zeromus 3d3348d365 Revert "add another resizing part that I think is a bad idea"
This reverts commit 49b6a35dfe.
2020-04-23 21:20:38 -04:00
zeromus 49b6a35dfe add another resizing part that I think is a bad idea 2020-04-23 21:20:04 -04:00
zeromus 1d1f2a18c6 This reverts commit c878c85dae. 2020-04-23 21:06:12 -04:00
zeromus c878c85dae for your consideration: sync settings return flags instead of a bool, so we can have more granularity in what needs resetting than just "reboot core". for instance, we would like to minimize the number of times the window layout is redone by not doing it when the screen settings havent changed. HOWEVER, while I was writing this commit message, I realized, I should probably do it just by being more cautious in kicking off the layout (unless the data coming from the core has changed, a layout shouldnt happen). So I am going to make this commit, in case it inspires anyone, and then revert it. 2020-04-23 21:05:56 -04:00
zeromus c5ff7edba9 fiddle with race condition thing some more. uhhh full disclosure, I still got a crash once. Couldnt repro it (as compared to before where it was 100% fully reproducible for me. not sure why though 2020-04-23 20:40:16 -04:00
zeromus 3403ecacb7 fix race condition between OTK_Gamepad initialize and EnumerateDevices() from input thread 2020-04-23 20:35:04 -04:00
adelikat 72c4e19183 MovieSession - hold on to a copy of the IEmulator instance, and use it instead of Global.Emulator 2020-04-20 09:20:00 -05:00
alyosha-tas ada61fae93 Switch cores correctly, fixses #1939 2020-04-20 08:59:19 -04:00
adelikat 91dd8c938e MovieSession.QueueNewMovie - reduce dependencies 2020-04-19 14:18:09 -05:00
adelikat 70633419ac
Refactor TasMovie and add interface (#1940)
* create ITasMovie interface, still lots of todos

* interface for TasMovie.ChangeLog

* rename method

* interface more TasMovie things

* file rename

* interface more ITasMovie things

* make Bk2Movie and TasMovie internal, rely on interfaces for behavior and MovieService for instantiation

* MovieService cleanup

* cleanup TasBranch handling and simplify ITasMovie api

* more branch logic cleanup and ITasMovie simplificaiton

* more cleanup of branch handling

* more ITasMovie simplification

* nitpick cleanup

* Use IMovie.GetInputLogEntry instead of GetLogEntries

* more ITasMovie cleanup

* move come ITasMovie properties to TasBranchCollection

* TasMovie cleanup

* simplify ITasMovie more

* cleanup
2020-04-19 13:38:45 -05:00
adelikat 918fbe6367 fix Tastudio .tasproj loading broken in previous commits (this code is a mess), MovieSession - remove setter on Movie property 2020-04-18 15:37:43 -05:00
adelikat 56cc1fefff Tastudio - simplify movie loading stuff 2020-04-18 15:28:31 -05:00