Commit Graph

19662 Commits

Author SHA1 Message Date
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
CasualPokePlayer 8ea09eebf5 fix some bugs with Ares64 tracer, fix trace header too 2022-04-15 18:50:58 -07:00
CasualPokePlayer 20ecfb81ea Add tracer + disassembler + get registers + system bus to Ares64, mark Ares64 as released
Squashed commit of the following:

commit 2e29aee13276412b2832e8f0efa10d9c57ed9d78
Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
Date:   Thu Apr 14 22:44:33 2022 -0700

    .

commit be73cf5e2204405a84b42948fd104d18c75be45a
Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
Date:   Thu Apr 14 22:37:34 2022 -0700

    hook up debug stuff + disassembler + tracer, mark Ares64 as released

commit fdd440703ecef48c94bb2bb1ad9c2d3dc5c96e42
Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
Date:   Thu Apr 14 20:36:08 2022 -0700

    maybe fix disassembly

commit d0808551c60fe3c03506b1ad89766a0d397e06dd
Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
Date:   Thu Apr 14 20:06:36 2022 -0700

    system bus

commit 60d1df8f33043fb656f90c1cf4ace8788489c3e1
Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
Date:   Thu Apr 14 16:40:11 2022 -0700

    regs

commit c64be2df293ea44694868355747061a952bd54aa
Author: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com>
Date:   Thu Apr 14 15:31:08 2022 -0700

    tracing and disasembly for ares, needs to be hooked up to frontend
2022-04-14 22:45:10 -07:00
CasualPokePlayer 7d268e244b fix #3166
was a regression from a858282a8d
2022-04-14 03:15:36 -07:00
CasualPokePlayer 8d03133c71 make sameboy output 262144 hz samples instead of 2MiHz samples (latter can be buggy, 262144 was recommended by LIJI).
also update sameboy bootroms, closes #3185
2022-04-14 02:36:51 -07:00
CasualPokePlayer 4a52e7f769 resolve #3211 probably 2022-04-09 20:08:32 -07:00
CasualPokePlayer 984ca65480 don't break build 2022-04-07 16:53:35 -07:00
CasualPokePlayer c496c97c8f remove some render off logic (this might not be sync safe), move threaded rendering to a sync setting (this probably doesn't affect sync, but best be safe here) 2022-04-07 16:51:51 -07:00
CasualPokePlayer 93dadb021f make sure core name is set for GENS importer 2022-04-06 21:58:04 -07:00
CasualPokePlayer 97a11ec083 fix NESHawk mistakenly having cycle count complained about 2022-04-05 21:01:05 -07:00
CasualPokePlayer 2c232a2b81 [Gambatte] various upstream accuracy improvements (notably, cgb-acid-hell now passes!). also fix memory callbacks for ROM0 area 2022-04-05 20:36:11 -07:00
CasualPokePlayer c2ea1c6c7b fix oopsie in libgambatte bindings and make gb testrom suite run again (was broken by a858282a8d) 2022-04-03 19:45:58 -07:00
CasualPokePlayer d4bb5e047e [Gambatte] API updates, setting time now uses a single function which takes in dividers 2022-04-03 02:34:23 -07:00
CasualPokePlayer c33d2cfbe5 [Gambatte] upstream cleanup, use upstream for board name and other rom details, remove now unused MULTICART_COMPAT flag 2022-04-02 23:16:39 -07:00
CasualPokePlayer 37a7c69107 [Gambatte] fix MMM01 inaccuracy 2022-04-02 12:55:28 -07:00
CasualPokePlayer 178264ce67 update sameboy, fix bug with SRAM loading 2022-04-02 10:22:18 -07:00
CasualPokePlayer cc0a30e5b2 [Gambatte] upstream cleanup + MMM01 support 2022-04-02 09:52:50 -07:00