Commit Graph

19678 Commits

Author SHA1 Message Date
YoshiRulz 9bdf043f36
Migrate ApiHawk from `CoreSystem` enum to const strings, and clean up 2022-05-24 02:59:41 +10:00
YoshiRulz 1026503d92
Refactor firmware config so icons make sense (resolves #3157) 2022-05-21 04:39:44 +10:00
YoshiRulz 9ac0f9258e
Fix #3087 hotkeys triggering accidentally in Virtual Pad... again 2022-05-21 03:44:50 +10:00
YoshiRulz af2d8da36e
Restore "priority" option for U+D/L+R policy (resolves #2752)
partially reverts bd1c3cb99, including restoring the old default value
"Priority" (it was effectively changed to "Forbid" in the same commit)
2022-05-20 05:41:38 +10:00
YoshiRulz 8aa3f892d0
Fix `RadioButtonEx` not getting `AutoSize = true` 2022-05-20 05:41:38 +10:00
YoshiRulz fd4771c45c
Fix category radio buttons being cut off in Messages config
fixes e5bbec180; also realigned the text while I was at it
2022-05-20 05:41:34 +10:00
YoshiRulz bdd31d83b8
Resolve TODO re: enum member name 2022-05-19 17:51:15 +10:00
YoshiRulz df315abaf7
Update links to TASVideos in readme 2022-05-19 17:34:26 +10:00
YoshiRulz ca71bb2faf
Resolve TODO re: frontend hotkey config
breaks config backcompat
2022-05-18 23:39:01 +10:00
YoshiRulz 335be13fd8
Fix typo in `BindingCollection.ResolveWithDefaults` 2022-05-18 21:02:56 +10:00
YoshiRulz 71150c60d3
Also check non-public `ApiContainer` properties when injecting APIs 2022-05-18 15:04:20 +10:00
YoshiRulz aa135fc0dd
Remove redundant semicolons 2022-05-18 15:04:13 +10:00
CasualPokePlayer 8ca1e4a080 pull in sameboy upstream and implement custom palettes for sameboy dmg (resolves #3239 for dmg, cgb should be fielded as an upstream request) 2022-05-11 00:00:43 -07:00
YoshiRulz 6beaa79b2c
Use `FirstOrNull` helper for `--open-ext-tool-dll` impl.
fixes e128cb82f, 23c092810
2022-05-10 00:54:33 +10:00
YoshiRulz 6e46cb550b
Fast-fail Mupen core ctor on Linux 2022-05-10 00:21:17 +10:00
CasualPokePlayer a949178559 fix AGB selection in sameboy 2022-05-07 19:23:21 -07:00
YoshiRulz afc442462c
Use `ClientSize` when resizing Lua Forms (see #3034) 2022-05-07 23:01:36 +10:00
YoshiRulz b4ca2f9de8
Increase precision when tweaking axis sens./deadzone (resolves #3038)
not sure how you trigger `LargeChange` but I set a value anyway
2022-05-07 22:32:24 +10:00
YoshiRulz 5f820cc530
Fix #3087 hotkeys triggering accidentally in Virtual Pad but on Win 2022-05-07 18:51:25 +10:00
YoshiRulz b7ffa811bf
Clean up callback spaghetti when resetting `VirtualPadAnalogStick` 2022-05-07 17:04:52 +10:00
YoshiRulz 41de03e31c
Default to "NLua+KopiLua" on Linux 2022-05-07 15:58:07 +10:00
YoshiRulz c93ceae462
Fix typo in Snes9x sound settings bitfield (fixes #1208) 2022-05-07 14:40:15 +10:00
YoshiRulz cb42e8c4dc
Only offer to remove recent rom if it doesn't exist (fixes #3006) 2022-05-07 13:43:43 +10:00
CasualPokePlayer d90166e1ed try to fix dsm importing (thanks microsoft for making dictionary order undefined) 2022-05-06 00:08:50 -07:00
CasualPokePlayer b72590066f [Libretro] fix some input issues due to more recent api changes 2022-05-05 02:46:13 -07:00
CasualPokePlayer 25fb816988
Libretro rewrite (#3212)
* redo all the libretro stuff in pure C#

also yes i imported snprintf lol

* also remove these

* remove clib hack, it doesn't work when there's more than 1 param (apparently ... is really just a variable num of args passed on the stack and not some pointer to some struct, and c# doesn't have any way of representing this. fallback log isn't bad to deal with anyways)

* also probably want this to return false

* /s/UnmanagedString/PinnedString/

* misc tweaks

* oops

* Libretro "Bridge", with entirely different design. The bridge here simply handles all the callbacks retro cores use, so there is never a c++ -> .NET callback, and probably avoids any libco issues
also a lot of cleanup in various areas, and some bug fixes too (Blit555 now outputs the correct colors)

* use blipbuffer instead of speex

speex seems to perform much worse often (and outright buggy for some libretro cores like sameboy which reports a sample rate of 384000), and blip works well enough even for "newer" systems

* cleanup and linux build

* cleanup and bugfixes (thanks uninitalized variables)

* oops

* misc and cleanup

* fix load no game, also handle load game failures correctly
2022-05-05 01:49:29 -07:00
YoshiRulz 635fff6c5d
Handle removing mem callbacks from within a callback (resolves #1823) 2022-05-04 15:59:04 +10:00
YoshiRulz ceb64cedb0
Finish `MergeLAndRModifierKeys` UX (resolves #3184) 2022-05-04 13:18:31 +10:00
YoshiRulz c490d8baa2
Minor refactor to debug menu 2022-05-03 18:15:45 +10:00
Connor 5a913ac2a4
fix absolute dimensions of shaders (#3234)
previously, a height specified absolutely would affect the output width instead of the height.
2022-05-02 22:12:40 +03:00
YoshiRulz ee241dc626
Improve UX of loading a savestate from an older (or newer) version 2022-05-02 13:11:40 +10:00
YoshiRulz c3e3ffbe27
Unindent `SavestateFile.Load` 2022-05-02 12:57:53 +10:00
YoshiRulz 53240c2f84
Fix #3224 Win7+ shell "jump list" no longer working
fixes 7a7522f28
2022-05-02 12:39:58 +10:00
CasualPokePlayer 49399fce20 [mGBA] try to increase performance with callback handling 2022-05-01 19:35:23 -07:00
CasualPokePlayer e7e2790672 [mGBA] try to optimize callbacks 2022-05-01 12:56:23 -07:00
CasualPokePlayer cd8f5b4203
[mGBA] don't try to read watchpoint type for execute callbacks 2022-05-01 11:06:36 -07:00
YoshiRulz f7ead5f592
Rewrite `IController.ToDictionary` helper, now works with > 9 players 2022-05-01 15:11:14 +10:00
CasualPokePlayer 4e76fff2d8 [mGBA] dont let read/write callbacks be called via execute callbacks 2022-04-30 19:56:39 -07:00
CasualPokePlayer b39631b248 fix #3230, also cleanup this code and fix other bugs with it 2022-04-30 19:41:23 -07:00
CasualPokePlayer ebb0282860 various gambatte updates, all wilbertpol tests now pass, cgb-dmg now correctly uses dmg sprite priority when it should (fixes dmg-acid2 in CGB-DMG) 2022-04-30 16:25:28 -07:00
YoshiRulz 46a426a244
Change wording of SkipWaterboxIntegrityChecks description 2022-04-30 11:33:47 +10:00
YoshiRulz bc922fb6d0
Fix known-failing test case list being unsorted, add warning for that 2022-04-30 11:33:18 +10:00
Morilli 14984aea2d Change RomDirectory to RomPath in RomAsset
for the current (only) usecase, this fixes failures when "RomAsset.Name" is not equal to the name of the rom on disk
2022-04-24 03:52:03 +02:00
CasualPokePlayer 8f663feda5 fix #3226 for real this time
i hate threads...
2022-04-23 16:27:15 -07:00
YoshiRulz de1d8f56db
Remove remaining `IGL_SlimDX9` type resolutions in cctors 2022-04-23 15:21:58 +10:00
YoshiRulz 8563be60ba
Add a level of indirection to DirectX/XAudio2 ctors and static calls 2022-04-23 15:21:58 +10:00
YoshiRulz 2fde1ce9e9
Use dynamic type for D3D VSync in `UpdateSourceDrawingWork` 2022-04-23 15:21:58 +10:00
YoshiRulz 6ea714ac31
Move `DispMethodEnum` to `Bizware.BizwareGL` 2022-04-23 15:21:58 +10:00
YoshiRulz 00d19aa550
Update known-failing testrom cases
unfortunately, bisecting the added SameBoy cases is going to be hard because the
dummy frontend was broken for some time
2022-04-23 15:21:44 +10:00
CasualPokePlayer a08116f2d6
Remove explicit lua restart within LoadRomInternal
The position of this restart is dangerous as it may pass in a Dispose()'d core. This is pointless too as later on the Tool Manager handles restarting all tools.

Similarly, remove the explicit restart of the Debugger, no point in doing this as the Tool Manager will restart the debugger just fine anyways (the restart removes breakpoints from the debugger's internal list but doesn't remove them core side, which they should have been removed anyways from being Dispose()'d)
2022-04-22 20:03:30 -07:00