Commit Graph

21974 Commits

Author SHA1 Message Date
feos 1da3e4d773 tastudio: AutoadjustInput
remove all consecutive was-lag frames in batch like taseditor does. current frame has no lag so they will all have to go anyway

still need to fix wrong pausing
2024-12-04 22:56:59 +03:00
Morilli cf464d4481 bump transitive System.Text.Json dependency to fix .NET 9 build warnings
The previously resolved 8.0.0 is vulnerable according to https://github.com/advisories/GHSA-hh2w-p6rv-4g7w, so pin it to 9.0.0 for now to fix build warnings (and whatever vulnerability that is).

Once Silk.NET publishes a 2.22.1+ this can theoretically be removed.
2024-12-02 00:19:01 +01:00
Morilli cd7605d237 fix code 2024-12-02 00:07:19 +01:00
feos adf74495dc fix #2369
move tasview context menu to the other side of the cursor if it's not fitting into the screen fully. of course if there's not enough space there EITHER, the user must do something about it, meanwhile best we can do is clamp location to 0. not using MouseEventArgs because we need absolute on-screen coords

other tastudio menus are small so probably fine?
2024-12-01 23:10:18 +03:00
feos 05f06aeb5b tastudio: don't let branch screenshot appear below screen edge 2024-12-01 21:59:39 +03:00
feos 28757bd8be control extension to center the new dialog on mouse pointer 2024-12-01 21:59:39 +03:00
feos 2211a4186f control extension to ensure onscreen dialog spawn
applied to tastudio dialogs (branch/marker text will use it later)
2024-12-01 21:59:39 +03:00
feos d89035c400 unify tastudio dialogs:
- the only dialog that's meant to be used during emulation is undo history, so let it spawn at its old location in the middle of the screen. user will move it regardless of where we spawn it
- positioning of input prompts will happen later
- all config/metadata dialogs now block tastudio and spawn at the top just like open/save. user is clicking tastudio menu so it's distracting if those dialogs spawn too far away from where they're already looking. and the middle of tastudio can be indefinitely far away because it can easily occupy the entire screen (we have cores with tons of buttons, and some users like to make it as tall as the screen). so while in the middle is """consistent""", it's very annoying if you have to do a lot of consecutive edits (for example to greenzone caps, or colors). overall, top priority of smooth tas workflow, so """consistency""" with unrelated tools made for unrelated tasks is not helpful if it makes the workflow more annoying
- ensuring the dialogs spawn fully on-screen will happen later

removed unused tastudio menus and config params
- branch hover interval was added before I replicated taseditor logic, which makes branch screenshots only appear if you keep the pointer over branch number, and not if you're just moving it around. making it configurable doesn't look useful
- seek cutoff interval (how far target frame has to be to spawn seek progress bar) feels redundant because any onscreen edits won't spawn the thing anyway, and for farther seek points it's not annoying enough to change
- EmptyNewMarkerNotes is not relevant to tastudio because it never copied previous marker notes like taseditor does. currently it does nothing and nobody ever requested it even tho it's in the menu, so there's no evidence anyone ever needed it
- fun fact: I was sure autoadjust input to lag never worked but it mostly does! so it wasn't removed, instead I plan to fix it (it pauses on every added frame). it's also not saved.
- other dialogs use InputRoll so I had to remove those options from them too (tastudio is the only one that they were meant for anyway)

bump undo history to 1k. it may not be needed often but when it is, some actions are not combined (for example it adds every newly emulated frame) so you may end up unable to undo some dumb mistake than was only a few actions ago

use normal control BG color for tastudio color editor. I tried it with dark theme on linux and got no difference. if this causes issues we'll see how to fix it without randomly giving one dialog unique BG color. also removed todo since labels are good now
2024-12-01 21:59:38 +03:00
CasualPokePlayer 6f0ae7128a Add GetRawInputBuffer handling for RawKeyInput
Slightly speeds up windows keyboard handling as it reduces syscalls
2024-11-30 22:30:19 -08:00
YoshiRulz 9d3fc9ce9e
Fix casting event senders to wrong base class
fixes b2184e46d
2024-12-01 12:13:14 +10:00
Morilli 6c49fa7472 add test to check for missing core preferences choices 2024-12-01 00:19:04 +01:00
Morilli d245271649 rename test method 2024-12-01 00:06:19 +01:00
Morilli 320de38c5c consolidate CorePickerStabilityTests 2024-11-30 23:30:08 +01:00
YoshiRulz d335e5cba4
Some updates to Unix section of readme 2024-12-01 04:39:33 +10:00
YoshiRulz 04c70c3ead
Only when double-clicking TAStudio frame# cell, open dialog at cursor
fixes 128c8e621
see #3714
2024-11-29 00:41:42 +10:00
YoshiRulz c3bd723c36
Add helper for centering dialog relative to a `Control` 2024-11-29 00:40:33 +10:00
YoshiRulz a39689d62d
Fix duplicate `Form.Dispose` implementation
fixes 6d2d07428
2024-11-28 07:52:14 +10:00
YoshiRulz 6d2d07428e
Make the Basic Bot fail more gracefully 2024-11-28 07:41:06 +10:00
CasualPokePlayer bd90dc6aa6 Fix NRE when spamming right click in TAStudio 2024-11-27 12:47:38 -08:00
YoshiRulz 128c8e6218
Don't open branch/marker edit dialogs at cursor pos
resolves #3714 and #2369
2024-11-28 04:53:47 +10:00
YoshiRulz 75e5088eed
Indicate unsaved changes to movie in window title
see #4064
2024-11-28 04:36:28 +10:00
CasualPokePlayer a7dd37d884 Add Skylake GPUs to GL interop blacklist 2024-11-26 16:42:16 -08:00
Morilli 24d4e89d38 fix TAStudio autohold/fire right-click logic
- closes #4125
2024-11-26 19:49:27 +01:00
CasualPokePlayer 075247c643 mgba windows build 2024-11-24 13:56:03 -08:00
CasualPokePlayer 3d2caf8664 properly init mRumbleIntegrator 2024-11-24 13:53:28 -08:00
CasualPokePlayer 39a896b289 mGBA windows build + C# side changes 2024-11-24 13:39:18 -08:00
CasualPokePlayer 1fb23ac6ac Use newer mRumbleIntegrator 2024-11-24 13:35:18 -08:00
feos f0eedbce0a update mgba 2024-11-24 23:41:02 +03:00
feos f7b6703ad2 puae mnemonics 2024-11-24 11:40:36 +03:00
CasualPokePlayer c9666a5647 [GPGX] Add offscreen shot control, make lightgun inputs always use the correct screen width/height
Fixes #4120
2024-11-23 22:22:26 -08:00
YoshiRulz 2b900b6e50
Nix expr: Fix DiscoHawk launch script assuming EmuHawk has ran before 2024-11-23 23:43:06 +10:00
kalimag 2bd2aed4aa
Improve Lua REPL handling of statements (squashed PR #4026)
* Improve Lua REPL handling of statements

Stop printing syntax error messages when executing variable assignments etc.

* Move doc comments to interface

* Simplify pattern matching expression

* Use reference equality to test for console output

* Revert "Use reference equality to test for console output"

This reverts commit 875bc3c41e.

* Use `_messageCount` to test for console output
2024-11-23 21:41:31 +10:00
feos 7e9e2d553c puae: fix fps 2024-11-22 17:32:37 +03:00
YoshiRulz 223a370713
Revert "POC for `[Dependency]` (eager asm loading)"
This reverts commit d23e771a39.
Had no effect on where in the startup a `TargetInvocationException` was thrown, so I'm guessing the attribute has no purpose anymore.
2024-11-22 09:58:12 +10:00
YoshiRulz d23e771a39
POC for `[Dependency]` (eager asm loading) 2024-11-22 09:39:16 +10:00
feos 90ca8ea6ca amiga icon 2024-11-21 21:18:22 +03:00
feos 1ec2a9a318 puae: keyboard image 2024-11-21 18:09:36 +03:00
feos d3713a6cba puae: fix crash on null settings 2024-11-21 17:30:43 +03:00
YoshiRulz 456d37a433
Link to GitHub wiki from contribution guide 2024-11-21 20:53:54 +10:00
feos 118e2876a4 puae: fix framerate and resolutions, cleanup
todo: av dumper dies in ntsc mode on frame 11...
2024-11-20 22:10:56 +03:00
CasualPokePlayer 2a0870234e Fix tracelogger layout 2024-11-19 23:40:05 -08:00
CasualPokePlayer c21df56eaf Linux mgba build 2024-11-19 23:02:57 -08:00
CasualPokePlayer e54ea196e1 [mGBA] Fix light counter not being correctly serialized
Resolves #4094 and resolves #4118
2024-11-19 22:57:51 -08:00
feos 0818e97fee puae: it's unclear if mouse_deltanoreset helps with anything currently
it seems to always be true in winuae...

also cleaned up our fork a bit
2024-11-19 21:31:26 +03:00
CasualPokePlayer 65b5d35e8e Add in digital titles for 3DS gamedb 2024-11-19 00:35:58 -08:00
feos 5bdb3b24c6 puae: disable fastmem for a1200
there are games that require this machine and 0 fastmem. games that require non-zero fastmem on this machine are currently not supported (HDs, CDs, and WHDs).
2024-11-18 21:47:35 +03:00
CasualPokePlayer 89d76ef6cb Fix N3DSHasher with seed crypto 2024-11-17 16:27:51 -08:00
YoshiRulz 02094fe780
Fix enum comparison in PUAE ctor
fixes 15af4219c
2024-11-18 04:48:59 +10:00
feos 15af4219cd no magic 2024-11-17 19:45:47 +03:00
feos 43b1dfa4b8 close #4102 (puae floppy speed) 2024-11-17 19:43:51 +03:00