Commit Graph

21434 Commits

Author SHA1 Message Date
YoshiRulz 8e3486a50a
Nix expr: Expose `populateHawkSourceInfo`
fixes 8055cd134
(I forgot to update the automagic docs when adding `-A IDEs.kate`)
2024-07-29 21:04:26 +10:00
YoshiRulz 92f762b0c0
Nix expr: Refactor how `custombuild.txt` is set declaratively 2024-07-29 21:01:45 +10:00
feos 8e9e9b9218 update script 2024-07-27 14:54:02 +03:00
YoshiRulz 1bc1f1b3d2
Add overload for `IGuiApi.WithSurface` with stronger encapsulation 2024-07-26 16:03:02 +10:00
YoshiRulz 22e5e035d2
Remove a couple references to deprecated `--mono-no-redirect` flag 2024-07-26 15:52:59 +10:00
YoshiRulz 7b644f771e
Use `System.Drawing.Primitives` 2024-07-26 10:33:20 +10:00
kalimag 413fd40b46 Fix fuzzy cue file resolving
Partially revert 7cde8bb
2024-07-25 16:46:28 +10:00
James Groom 3a8b3913bf
Fix Uzebox framerate (squashed PR #3975)
These numbers are derived from the 2010 whitepaper:
NTSC's 4*(315/88 MHz) is doubled to give the master clock rate, which is
then divided by 1820 cycles per line and 262 lines per (progressive)
frame.

---------

Co-authored-by: Morilli <35152647+Morilli@users.noreply.github.com>
2024-07-24 07:31:34 +10:00
YoshiRulz 8fda95066c
Fix value being cached when it shouldn't in `InputRoll.LastVisibleRow`
resolves #3972
partially reverts dd4f9aaf6
2024-07-21 06:28:31 +10:00
Morilli cc1b9c5903 TAStudio: access CurrentTasMovie before stopping it
fixes 4c39a81228

- closes #3973
2024-07-20 08:15:10 +02:00
Morilli 5fd3575c0f Improve tastudio refresh behavior in tastudiolualibrary
should resolve #3969. Let's hope this doesn't break anything.

There still seems to be some overhead, but I can't profile this so I can't say whether it's from submitclearframes or applyinputchanges.
2024-07-20 07:56:52 +02:00
YoshiRulz cee9661f0e
Reduce indentation in `Bk2Controller.SetFromMnemonic` 2024-07-20 13:41:49 +10:00
YoshiRulz 151491c844
Use an array for `Bk2Controller.ControlsOrdered` 2024-07-20 13:39:37 +10:00
YoshiRulz 1049a091c0
Convert `Bk2Controller.ControlMap` to a struct 2024-07-20 13:38:40 +10:00
YoshiRulz bbebe88179
Rename issue templates to have numeric prefixes
...since they're sorted by filename in the template selector
with this change, whoever changes them next (probably me) will be able
to control the order
2024-07-19 16:43:51 +10:00
YoshiRulz cd81aac56b
Remove language re: Linux port being secondary/WIP from issue template 2024-07-19 16:38:12 +10:00
YoshiRulz b7a851ea92
Set default window scale for WonderSwan to 3x 2024-07-19 07:27:13 +10:00
Morilli 15125ec11f Improve tastudio lualibrary speed
see #3969
2024-07-18 02:15:07 +02:00
Morilli f59cfb1710 set current branch properly in TAStudio movie load
apparently, GoToFrame might frameadvance, which in turn calls UpdateAfter(), which in turns updates the current selected branch in the TasSession with the value of the current movie.
So, we need to set the current movie's current branch from the session's value before it gets deleted.

- closes #3968
2024-07-17 22:46:00 +02:00
feos e214b7dc33 fix script 2024-07-16 20:29:29 +03:00
YoshiRulz 9a5a75e5bb
Add some helpers to `BitmapBuffer` 2024-07-16 08:08:41 +10:00
YoshiRulz d7e9668d50
Add and use `Span`-from-`IntPtr` helper 2024-07-16 07:30:09 +10:00
YoshiRulz f742fe55d5
Refactor `ToolManager.Close`
that ought to cover everything
2024-07-16 04:09:01 +10:00
YoshiRulz f9cdad2ea6
Move system-specific helpers in `MainForm` to separate file 2024-07-14 05:40:25 +10:00
YoshiRulz e49c4689de
Minor refactors to system-specific helpers in `MainForm` 2024-07-14 05:34:42 +10:00
YoshiRulz b2184e46d5
Clean up some `DropDownOpened` handlers for disk switch submenus 2024-07-14 05:31:04 +10:00
YoshiRulz 65979e61ec
Reduce indentation in system-specific helpers in `MainForm` 2024-07-14 05:25:36 +10:00
YoshiRulz 2321bc55e6
Add `LoadedCoreIsNesHawkInVSMode` helper prop in `MainForm` 2024-07-14 05:10:23 +10:00
YoshiRulz f21c8b914c
Refactor `MainForm.EnsureCoreIsAccurate` 2024-07-13 01:21:45 +10:00
YoshiRulz c09f195148
Fix bug in `HawkSourceAnalyzer` 2024-07-12 23:27:29 +10:00
YoshiRulz 1fdacd762a
Refactor `yield`ing methods to conventional LINQ 2024-07-12 14:42:11 +10:00
YoshiRulz dfe8b1308c
Refactor `yield`ing methods to direct, stateless returns 2024-07-12 14:42:10 +10:00
YoshiRulz 166f1d537e
Comment-out unused `DiskBuilder.BamEntry.Entries` (C64Hawk) 2024-07-12 14:42:10 +10:00
YoshiRulz fc8fd64143
Simplify `DiskBuilder.BamEntry.GetBytes` (C64Hawk) implementation 2024-07-12 14:42:10 +10:00
YoshiRulz 18bc51f5e7
Simplify `IDisassemblable.AvailableCpus` implementations 2024-07-12 14:42:10 +10:00
YoshiRulz da06dae80c
Decrease indentation in `InputRoll.GenerateContextMenuItems` 2024-07-12 14:42:10 +10:00
Morilli c5820f0c0f TAStudio: don't select branch when none exists
-closes #3967
2024-07-12 06:03:14 +02:00
YoshiRulz 616437ff31
Restore exception message in `SavestateFile.Create`
partially reverts e9d6716a3
2024-07-12 08:09:59 +10:00
YoshiRulz ee0c0a80d0
Bump supported Win10 version 2024-07-12 01:51:28 +10:00
feos a5e7288a71 add batman-robin lua 2024-07-11 17:48:33 +03:00
Morilli e9d6716a33 Fix savestating being possible after movie has finished 2024-07-10 21:03:59 +02:00
CasualPokePlayer 662fd83f5e Prevent user changing clock stopping message pumping
TODO: Audit other usages of DateTime.Now assuming it is monotonic (also use DateTime.UtcNow where applicable to avoid DST causing issues)
2024-07-10 01:51:28 -07:00
YoshiRulz e44810a725
Fix stacktraces for `RangeToExclusive` extension 2024-07-10 13:30:35 +10:00
YoshiRulz 00c103da0b
Remove unused import 2024-07-10 13:20:55 +10:00
CasualPokePlayer d8431d615e Avoid zealously copying the entire video buffer
this might be larger than bufferwidth*bufferheight, and thus possibly dramantically decrease screenshot/dumping performance
2024-07-08 16:29:51 -07:00
Morilli 57e3c47bcc Fix InputRoll not updating CellHeight and CellWidth on padding change 2024-07-08 19:21:35 +02:00
YoshiRulz 5fd840e145
Add Analyzer (currently disabled) for target-typed `new` with `throw` 2024-07-09 00:12:46 +10:00
YoshiRulz 53fcb93d0e
Nix expr: Regen NuGet lockfile
fixes c6101a190
2024-07-09 00:12:27 +10:00
YoshiRulz 0d2844d1fd
Improve docs on `Config.CorePickerUIData`
fixes 14cf4b348, 81e2b5b47, and bbb3b4cd7
2024-07-08 23:57:58 +10:00
Morilli bbb3b4cd7d Update comment on CorePickerUIData
also restore systemid default core restore logic that exists for some reason
2024-07-08 06:26:57 +02:00