Commit Graph

22583 Commits

Author SHA1 Message Date
YoshiRulz 5cf2d1a7d1
Further clarify `joypad.setanalog` docs
fixes d48bea5
see #2310
2025-06-02 06:01:19 +10:00
Morilli 3c774e2607 remove old dispose hack in MovieSession
no longer relevant since recent commits and didn't fail since the TasStateManager changes a while back anyway
2025-06-01 20:34:05 +02:00
Morilli 047e1556cb cleanup MovieConversionExtensions
none of these clear calls are required, also resolved TODOs
2025-06-01 20:34:05 +02:00
Morilli 1da70c884d refactor bk2->tasproj conversion
- don't mutilate the bk2movie during the conversion
- don't immediately set MovieSession.Movie without having loaded the taproj
2025-06-01 20:34:05 +02:00
Morilli 10f57bad2c remove unnecessary SetMainformMovieInfo calls in TAStudio 2025-06-01 20:34:05 +02:00
YoshiRulz c3dd2c2d63
Set `trim_trailing_whitespace` in EditorConfig 2025-06-02 03:57:49 +10:00
YoshiRulz f98476b825
Fix code style warnings in `LibDSDA.cs`
fixes f0564300c
2025-06-02 03:57:36 +10:00
feos 40b7b49f8c dsda: announce gamma on front end
they say the code should be so verbose that you won't need comments. indeed comments that restate the same thing that the code is doing are considered sloppy, because code will change and comments will become outdated. but if a comment is describing the logic of decision making or some unintuitive quirk, they're perfectly fine. so in a few places I go crazy with comments because the decision made there took a long time and a lot of changes, so it kinda summarizes the best result. that's it, no elaborate description of the change itself here... because I put it into that comment instead XD
2025-06-01 19:41:37 +03:00
feos f0564300c7 dsda: set gammma after core seal but before first frame advance 2025-06-01 16:23:40 +03:00
feos 2d23183569 dsda: decide aspect once on init 2025-06-01 13:25:55 +03:00
YoshiRulz 4fd52088e4
Drop outdated part of `joypad.setanalog` docs
fixes d48bea505
see #2310
2025-06-01 11:05:19 +10:00
feos 93ebbc60d6 add all other official freedoom versions to db
(and remove unofficial ones)
2025-05-31 21:29:10 +03:00
YoshiRulz b01436bdc6
Include Stella's B&W/colour switch in savestates
fixes b5e13206c
2025-06-01 01:14:18 +10:00
feos 6190a0573b dsda: woops
it was there twice... with different values!
2025-05-31 11:26:35 +03:00
YoshiRulz a0a06a58ab
Add `bizstring.{decode,encode}` (resolves #3035) 2025-05-31 10:35:49 +10:00
YoshiRulz 933e1616db
Fix code style warnings
fixes f86b7aed6
2025-05-31 09:35:50 +10:00
feos f86b7aed68 dsda: simplify
predefine a set of resolutions per aspect ratio for those that can't be calculated without complicated logic (hacks)
2025-05-31 02:10:53 +03:00
YoshiRulz 7ae2f9372d
Add missing `leaveOpen: true` in `MainForm.FlushSaveRAM`
fixes f0daba69b
2025-05-31 08:59:43 +10:00
YoshiRulz 8c9f6bd8ce
Fix copy-paste error in `MainForm.LoadRomInternal` hiding a warning
fixes 348cbd18d
2025-05-31 07:59:58 +10:00
YoshiRulz f0daba69be
Call `FileStream.Flush` for SaveRAM and movies (resolves #3419)
...and anything else which uses `FrameworkZipWriter`/`ZipStateSaver`,
which I think is just savestates
2025-05-31 07:53:57 +10:00
YoshiRulz fe1b973132
Remove line-end whitespace in `DSDA.cs`
fixes 621ad8e45
2025-05-31 07:53:49 +10:00
feos 621ad8e454 dsda: remove the workaround because it broke the FOV
increase the resolution for 1x 16:9 instead
2025-05-31 00:51:07 +03:00
feos 8632e9d3be dsda: a little bit less logic and more notes 2025-05-30 23:52:24 +03:00
Morilli 6b9cf49e15 delete redundant CreateDirectory wrapper 2025-05-30 22:06:56 +02:00
Morilli 4215ea81a3 remove redundant directory creation in RecordMovie
added in 5fc78efe85 and no longer necessary since... idk
2025-05-30 22:06:56 +02:00
feos ec65117fdf dsda: add some freedooms to db
support other aspect ratios (otherwise hires automap looks bad if we only correct aspect in frontend)
2025-05-30 22:35:02 +03:00
YoshiRulz 83169be667
Skip platform chooser when reloading core
if you make a mistake, you can still reopen via the recents menu
2025-05-31 05:19:19 +10:00
YoshiRulz 7665448202
Convert `LoadRomArgs` to a `record class` 2025-05-31 05:15:45 +10:00
YoshiRulz b0ffdd9073
Fix possibly nonexistent dir `MainForm.ScreenshotAsMenuItem_Click` 2025-05-31 04:18:39 +10:00
Morilli ecd694d66b mask gpgx memcallback addresses to actual address bus size
should resolve #3862
2025-05-30 05:31:35 +02:00
YoshiRulz b5e13206cf
Wire up B&W/colo(u)r switch in Stella (resolves #3203)
unmanaged side was done in 3af38050f (#4178)
2025-05-30 08:24:36 +10:00
YoshiRulz 15d920550a
Fix whitespace in `Stella.IEmulator.cs` 2025-05-30 08:24:01 +10:00
YoshiRulz 2538f9e16c
Remove a print left over from debugging
fixes 631e5c37b
2025-05-30 08:01:28 +10:00
CasualPokePlayer 92b280a3f0
Add .git-blame-ignore-revs (squashed PR #3349)
* Add starting .git-blame-ignore-revs

This could be used for ignoring giant whitespace changes in git blames.
With this we could commit to doing giant tab/space + newline normalization in .cs files without blame noise.

* Add more entries

---------

Co-authored-by: YoshiRulz <OSSYoshiRulz+git@gmail.com>
2025-05-30 04:06:01 +10:00
YoshiRulz 10894c690d
Fix code style warning on `PathEntryCollection._displayNameLookup`
fixes e513a856b
2025-05-30 02:07:42 +10:00
Morilli db555f6087 remove _playbackInterrupted bool in TAStudio
Should fix the bug mentioned in #4184. See 1f6ead6354, #2324, #2371 and 98498f9d50 for more confusion. This change might break any or all of the above.
2025-05-29 17:44:40 +02:00
feos e513a856b7 release dosbox and add dos/doom to paths
alphabetize _displayNameLookup
2025-05-29 17:30:29 +03:00
feos 0a01e0dc64 dsda: fix palette not changing
note on using PALETTE_SIZE as offset. normally it's `256 colors * 3 bytes per color = 768`, but in our headless mode it's 256. upstream does `SDL_SetPaletteColors(screen->format->palette, playpal_data->colours + 256 * pal, 0, 256);` when palette is updated, so clearly it means offsetting by 256 colors=bytes. but PALETTE_SIZE I used as my offset is not for stuff upstream uses it for. just something better than a magic number.
2025-05-29 14:34:03 +03:00
YoshiRulz 8c9e49cd1d
Move `--version` handling up so there's no window and no other prints 2025-05-29 14:48:35 +10:00
YoshiRulz 4a3631ef3e
Remove old Mono-specific process kill call
I tried putting an uncaught exception in a bunch of places and it exited
in every case
2025-05-29 14:36:50 +10:00
Morilli b0b93fe0df update/downgrade gpgx
reverted a problematic upstream commit, resolves #4206 and resolves #4293
2025-05-29 00:35:25 +02:00
VelpaChallenger ffa5d45aaf
Memory Hook Improvements (Return value) (#4283)
* new callback system with callback return values

If the lua callback returns a value, the core will update the addr with it. Otherwise, the old value sent by the core will be used unmodified

* update MemoryCallbackDelegate return value to uint?

* throw NotSupportedException for GBA memory callbacks

* docs: return value of MemoryCallbackDelegate and CallMemoryCallbacks
2025-05-29 00:20:52 +02:00
feos 3aed6f1823 dsda: multi-wad hashes
just like mame we're hashing the wad files, concating them, hashing that, and the result goes to movie header. for singular IWADs loaded on their own just the actual hash is used instead, to make it clear to users.

printing hashes of all files to header might be cool, but I'm not sure it's warranted - usually there's only 1 PWAD
2025-05-28 13:48:42 +03:00
YoshiRulz 6fc7ac6b61
Attempt to fix parsing mapper 4 from NES 2.0 header (resolves #4336) 2025-05-28 05:43:26 +10:00
YoshiRulz 8e3e16b888
Improve error message when a PE `.exe` is loaded (see #3042, #4300) 2025-05-28 01:10:21 +10:00
YoshiRulz f4a5b1fd1b
Fix executable bits on prebuilt native libs (and 1 wbx lib?) 2025-05-28 00:51:33 +10:00
Morilli edda865afb "fix" debugger display after breakpoint hits
Breakpoint hits don't actually pause execution, so it's necessary to immediately update the disassember view as the core will continue executing after. This isn't great design but whatever
2025-05-27 14:27:12 +02:00
YoshiRulz a6b8bd86ab
Actually check `MovieSession.QueuedSysID` too
fixes cc59818d6
2025-05-27 11:11:01 +10:00
YoshiRulz a4ce9e93dc
Don't do checks on `MovieSession.QueuedCoreName` when no movie queued
fixes cc59818d6
2025-05-27 11:06:56 +10:00
YoshiRulz 285d8560cb
Add a few more issue tracker search links to readme 2025-05-27 10:55:50 +10:00