Commit Graph

22720 Commits

Author SHA1 Message Date
YoshiRulz 5e7fb1c42f
Revert "Nix expr: Upgrade to Nixpkgs 25.05"
This reverts commit 5dc678f3a1.
2025-06-26 15:09:48 +10:00
YoshiRulz 5dc678f3a1
Nix expr: Upgrade to Nixpkgs 25.05 2025-06-26 14:53:30 +10:00
YoshiRulz a3ab70d63f
Nix expr: Regen NuGet lockfile
fixes bb7e5bc02
2025-06-26 14:53:14 +10:00
YoshiRulz ec6b3b6c4e
Use `Span` throughout `NLuaTableHelper.EnumerateValues`
resolves #4356
it was the `IndexOf` call, not an off-by-one
2025-06-24 17:44:11 +10:00
Morilli 7fe2ddaee5 break test 2025-06-23 13:32:40 +02:00
YoshiRulz 70299014d2
Minor refactor to `NLuaTableHelper.EnumerateValues` 2025-06-23 19:15:33 +10:00
YoshiRulz 43e07e3c94
Fix happy path in `NLuaTableHelper.EnumerateValues` (resolves #4356) 2025-06-23 19:15:11 +10:00
YoshiRulz 7670023a39
Add unit tests for `NLuaTableHelper.EnumerateValues` 2025-06-23 19:04:10 +10:00
SuuperW 5f24e26b6b Fix: InputRoll wasn't refreshing on certain key presses that scroll and select. 2025-06-22 13:52:22 -05:00
SuuperW 3a7fc057a1 Fix the stupid of my last commit. 2025-06-22 12:21:42 -05:00
YoshiRulz 4fd37732ad
Fix code style warning
fixes b9d78a604
2025-06-22 18:36:02 +10:00
SuuperW 61801f253b Fix: Scrolling to current frame, with follow cursor to method set to center, after extending movie by recording did not work. 2025-06-22 02:48:40 -05:00
SuuperW face2bf267 Fix regression from #4347 where painting inputs beyond visible rows would sometimes not scroll. 2025-06-22 02:39:52 -05:00
SuuperW 131f16796d revert accidental change that contradicts comment and somehow snuck in when updating said comment 2025-06-21 20:10:40 -05:00
SuuperW b9d78a6046
Merge pull request #4347 from SuuperW/auto_restore
Fixes to seeking and auto restore
2025-06-21 14:35:17 -05:00
SuuperW d8bd53d1c6 Safety for any custom or future tools that want to use this. 2025-06-21 14:29:37 -05:00
YoshiRulz b31e973a8a
Encapsulate PCEHawk in new service for Sound Debugger 2025-06-21 20:13:47 +10:00
YoshiRulz 04d3fe707c
Simplify `PCESoundDebugger.lvChEn.ItemChecked` handler 2025-06-21 20:13:41 +10:00
CasualPokePlayer d733430861 Rebuild quickerNES linux 2025-06-19 22:29:10 -07:00
CasualPokePlayer 66c547e41a Disable MMC5 support in QuickerNES
Restores b1f4a77251
Fixes #4244
2025-06-19 22:21:10 -07:00
CasualPokePlayer ff96acdfe2 Set 3DS RetroAchievements memory map to use the System Bus (all userland virtual memory) 2025-06-19 20:23:29 -07:00
Morilli 1a438c6a8c simplify CustomCollections.Contains
don't think we need an explanatory comment for the return value of a library function
2025-06-18 09:40:21 +02:00
Morilli 515b510da0 gracefully handle existent saveram when core does not support it
- closes #4358

Fixes 291dd80c27 and now matches previous behavior. Usual reason for this happening seems to be cores interpreting "saveram" differently.
2025-06-18 09:39:22 +02:00
Morilli 62040a3ba2 don't save garbage/nonexistent saveram in quickernes 2025-06-18 09:26:52 +02:00
SuuperW cc59c7102f Clarify why we do what we do. (comments) Also use ancient logic when resizing state buffers. 2025-06-18 07:45:29 +02:00
SuuperW 25a850c6d2 Pass new tests: ensure we don't create gaps larger than the ancient state interval. 2025-06-18 07:45:29 +02:00
SuuperW 8669ff3920 Add tests for the AncientStateInterval setting of TAStudio.
The dialog says this should be set as high as possible, and that it should not be "overly cumbersome to replay this many frames". Thus, the user should never have to replay more than this many frames (since that would be overly cumbersome) unless states were invalidated. Currently the user may have to replay up to double the specified interval.
2025-06-18 07:45:29 +02:00
YoshiRulz 7bd9e218ca
Rewrite `NLuaTableHelper.EnumerateValues` (fixes #4356) 2025-06-17 04:48:47 +10:00
YoshiRulz a67798ea21
Remove the now redundant `NLuaTableHelper.EnumerateEntries` 2025-06-17 04:16:41 +10:00
YoshiRulz f3b19b8d27
Simplify `SerializeTable` in `ConsoleLuaLibrary` further
see b6bcd083a
2025-06-17 03:39:03 +10:00
YoshiRulz 701ef1e960
NLua: Implement `IReadOnlyDictionary<object, object>` on `LuaTable` 2025-06-17 03:33:12 +10:00
YoshiRulz a7252cdb8e
NLua: Dedup in `LuaTable`
will rebuild in later commit
2025-06-17 03:33:08 +10:00
YoshiRulz b4e410ee76
Allow background input from gamepads on misc. forms 2025-06-17 01:59:33 +10:00
SuuperW 88cf00d4b6 Fix: Using tastudio.setplayback to seek to a non-existent marker would permanently suppress Lua.
Fix: Using tastudio.setplayback with a Lua number that happens to not currently be represented as an integer would throw.
2025-06-16 03:56:34 -05:00
SuuperW 2749b1b675 Fix: tastudio.setplayback would refuse to seek past the end of a movie 2025-06-16 03:54:08 -05:00
SuuperW 65e4133883 Remove redundant code. 2025-06-16 03:54:08 -05:00
SuuperW 80127dcd00 Show seek progress bar if we are seeking more than 1 frame. We don't know how long it's going to take! Also if the user ends up pausing there should be a visual indication of seeking. 2025-06-16 03:54:08 -05:00
SuuperW cf86c1d3b1 Fix: Manual seeks past the end of the movie were not respected if AutoPause was on. 2025-06-16 03:54:08 -05:00
SuuperW 620304e948 Deprecate client.seekframe. This had the same issue as tastudio.setplayback, freezing the UI. Since seekframe cannot go backwards, updating it to return immediately results in it doing absolutely nothing.
Note that it never was doing a "seek" as defined by MainForm, so we aren't removing that feature. And turbo-seek isn't relevant both because it wasn't a seek and because currently the only way to have a turbo-seek is to use the Play Movie dialog. If true seeking is desired a new lua method should be made. Also also, it did not actually touch InvisibleEmulation.
2025-06-16 03:54:08 -05:00
SuuperW 009667e65a TAStudio should own TAStudio logic. Fix: The green arrow would move when making multiple edits with auto-restore off if the edit caused a seek of >1 frame. 2025-06-16 03:53:52 -05:00
SuuperW ee35ad2179 Feature, from TASeditor: middle-click resumes seek if seek is in progress. This might be what StartSeeking's fromMiddleClick parameter (removed in last commit) was attempting to do. 2025-06-16 03:53:52 -05:00
SuuperW d889cb133c add hotkey for go to green arrow (manual restore position)
Also, fix: Middle-click restore would not update seek begin frame, potentially causing seek progress indicator to be wrong.
2025-06-16 03:53:52 -05:00
SuuperW 4379fa70c7 Fix: Seeks from Lua would freeze the UI and not return to Lua until the seek has completed, making the Lua script unable to see the frames during the seek. 2025-06-16 03:53:52 -05:00
SuuperW 1cc085e26c Fix: Greenzone would be invalidated if pasting or clearing a frame even if no change was made. 2025-06-16 03:53:52 -05:00
SuuperW 0634b37cc0 Call our new FrameEdited thing for auto restore whenever greenzone is invalidated, instead of manually calling at each edit point. This fixes auto-restore for undo/redo actions. 2025-06-16 03:53:52 -05:00
SuuperW 23f0716199 Fix: turbo seek did not work when navigating while unpaused 2025-06-16 03:53:51 -05:00
SuuperW 672581476a inline function that is only called from one place 2025-06-16 03:53:51 -05:00
SuuperW bbf3560bd0 Convert remaining auto-restore points to the new system. Also include refreshing in FrameEdited. Fixes more bugs. 2025-06-16 03:53:47 -05:00
SuuperW ffc50444f9 Revert commit a1c8c4ed3a. It was always pointless because it didn't fix the issue it was supposed to fix, and the later commit that actually fixes it was all that was needed all along. 2025-06-16 03:34:27 -05:00
SuuperW 553336ccd5 Replace some auto restore code with something simpler. Fixes auto-restore for right-click edits. 2025-06-16 03:33:21 -05:00