Commit Graph

20794 Commits

Author SHA1 Message Date
CasualPokePlayer a54de6d377 rebuild citra with MSVC static runtimes
this is needed for the hack in f9c85172e4 to work
2023-12-20 17:11:39 -08:00
CasualPokePlayer d00a512026 add comment noting StopSound can't be used for directsound's ResetToDefaultDevice 2023-12-18 02:37:30 -08:00
CasualPokePlayer 9e142711d6 Also delete this now unused dll 2023-12-18 02:35:08 -08:00
CasualPokePlayer f4ac17c904 Replace OpenAL dlls with openal-soft provided ones (downloaded from their official site: https://www.openal-soft.org/)
Fix hanging issue with OpenAL on device disconnection
Cleanup other hanging/crash fixes in other audio backends
2023-12-18 02:32:37 -08:00
CasualPokePlayer ad3aa2f5dc fix weird double utf8 bom in Bk2LogEntryGenerator 2023-12-17 04:27:17 -08:00
CasualPokePlayer f4ef12a38b simplify xaudio2 critical error handling
don't need to be this fancy, also this can still potentially deadlock anyways since audio throttle isn't going to be message pumping in throttling code
2023-12-17 04:24:19 -08:00
CasualPokePlayer d5fc092c0a Fix disconnecting an audio device potentially crashing/hanging for DirectSound and XAudio2
OpenAL seems to only do this on Windows, Linux does not care. This issue is also only relevant for audio throttle wrt XAudio2/OpenAL.
2023-12-17 04:11:27 -08:00
James Groom 7f21cbd029
Fix syntax errors in interp. string
fixes 0e084eaef
2023-12-17 20:00:30 +10:00
James Groom 0e084eaefd
Elaborate on admin warning, now with manual override (resolves #3835) 2023-12-17 09:46:44 +00:00
James Groom a48ca42125
Update assets denylist in `Package.sh` again
fixes dc659ddb9
2023-12-17 19:24:25 +10:00
Morilli dc659ddb93 Update Package.sh
unsure if sqlite and sdl dlls are safe to remove for linux package
2023-12-17 01:20:38 +01:00
feos 4f522bac11 mame: put soft reset first so its dups could be resolved automatically
should complete #3704
2023-12-13 20:57:43 +03:00
James Groom 8a806c897d
Improve error message in `Bk2LogEntryGenerator` ctor (see #3704) 2023-12-13 07:50:16 +10:00
CasualPokePlayer 3bcc6ee977 do some more cleanup with rcheevos stuff, also rework rcheevos read map. having a dict full of delegates ends up allocating >26GiB of memory for New 3DS (i.e. 256MiB of memory), so instead have a map of _memFunction indexes corresponding to address, thereby making memory usage equal to the memory mapping size (so for New 3DS this will only take 256MiB of memory). it comes with some limitations, none of which matter for now 2023-12-11 03:59:10 -08:00
CasualPokePlayer 6b0b6f2106 do cleanup with rcheevos, using record structs where possible
also add in `in` support for the BizInvoker for compat interop
(non-compat interop doesn't really matter here, the point of `in` is to avoid a copy back for non-blittable objects, which doesn't apply for non-compat which only works for blittable objects / always just pins them down)
2023-12-10 16:02:07 -08:00
Morilli 83e784ecec Actually provide proper OAM memory domain in bsnes 2023-12-10 00:48:50 +01:00
CasualPokePlayer cc0b6c0d99 update rcheevos to latest release, change a ton of ints to uints (what's actually used often)
todo: trim out unneeded defs and do c# 10 cleanups
2023-12-09 02:25:40 -08:00
CasualPokePlayer c2e8bda5e2 fix loading gba saves re-allocating buffer (thus invalidating its memory domain) 2023-12-07 22:52:48 -08:00
CasualPokePlayer 4d6bc5a33a fix build 2023-12-06 23:23:16 -08:00
CasualPokePlayer 2019f4baf2 c# side for 7b4bd8cdc3 2023-12-06 23:22:17 -08:00
CasualPokePlayer 7b4bd8cdc3 make GBA roms work under freebios 2023-12-06 23:19:53 -08:00
CasualPokePlayer 10ac5ddb3c rebuild citra on debian 11, remove dumb libc++ rundep
minor changes were needed on the c++ side (luckily it was only the bizhawk specific code which needed changes)
limits.h force include is a hack due to one of citra's externals relying on some implicit std header including which doesn't happen on gcc10's libstdc++
2023-12-04 17:06:27 -08:00
feos 688fb249f9 fix #3715 2023-12-03 15:50:49 +03:00
feos 79baa45ca6 bounds have proper dimensions now 2023-12-03 11:48:49 +03:00
feos 0efdd02085 address #3715 (need to fix hawk side aspect ratio) 2023-12-03 03:12:58 +03:00
feos 73bb9b4bd9 mame: add driver src file to dump info 2023-12-02 22:35:05 +03:00
James Groom cbd0bc8d0b
Nix expr: Bump Nixpkgs to 23.11 2023-12-02 18:40:47 +00:00
James Groom 7ee28c1ab9
Nix expr: Add `libGL` to `buildInputs` on NixOS
currently `libGL.so.1` just happens to be in the closure via `cairo`, but that's no longer the case in Nixpkgs 23.11
2023-12-02 18:40:22 +00:00
feos 2a40b172e1 fix #3704 2023-12-02 20:53:37 +03:00
feos a3746fe7b7 fix #3721 2023-12-02 18:06:43 +03:00
CasualPokePlayer a25eff9d9b rebuild sdl2 on linux too 2023-11-28 13:35:01 -08:00
CasualPokePlayer 1441bf98ba pull in some windows specific SDL2 fixes
see https://github.com/libsdl-org/SDL/issues/8617
2023-11-28 13:26:37 -08:00
James Groom 4ad9b7b2bf
Hopefully the last bugfix for GitLab CI config
fixes 7041b7845
2023-11-26 20:20:32 +10:00
CasualPokePlayer 20defc890b build newer SDL2 on linux (Debian 10), also pull in some linux specific build fixes 2023-11-25 17:49:49 -08:00
James Groom b06d706a13
Nix expr: Invert default for `doCheck` (it just works now?)
...and clean up the disabling of filesystem-related unit tests.
...and, surprise! Setting `ContinuousIntegrationBuild` was enough to fix the remaining r13y problems. I spent hours pre-merge trying random things, so that's irritating.
2023-11-25 14:56:06 +00:00
James Groom 7041b7845a
More fixes for GitLab CI config
- don't need Cachix anymore
- stop hardcoding 2.8 since I added a "latest"
- and fix ext. projects enumeration AGAIN
2023-11-26 00:20:32 +10:00
CasualPokePlayer f40e68e903 add in cmake scripts for building SDL2
this gives us a great level of control over how we build SDL2, omitting parts we don't want, and including parts we do want, like libusb support!
windows sdl2 normally doesn't support libusb, but with some magic it can be built and linked in fairly easily, giving windows sdl2 libusb support.
libusb support in sdl2 means official GC adapter support! (resolves #1879)

linux build will be done in a later commit
2023-11-24 22:33:19 -08:00
CasualPokePlayer 5f6243bd76 Remove SDL_INIT_HAPTIC use
We don't actually use the haptic API, which is a separate thing from SDL_GameControllerRumble/SDL_JoystickRumble
2023-11-23 23:09:46 -08:00
James Groom a605443590
Mute code style warnings in iso-parser 2023-11-24 05:28:41 +00:00
James Groom 0517294605
Fix typo in GitLab CI config
fixes bb0d8f231
2023-11-23 22:51:12 +10:00
James Groom 2105871122
Clean up handling of modal dialogs and parenting in RA 2023-11-23 07:56:45 +00:00
James Groom 36df9c387b
Add `IDialogParent.AddOnScreenMessage` extension 2023-11-23 07:45:40 +00:00
James Groom 5ef398c309
Lazily init `BasicApiProvider`/`ApiContainer` 2023-11-23 06:47:36 +00:00
James Groom 525c9c2f9c
Use `MainForm.QuicksaveLoad` directly for RA 2023-11-23 06:34:29 +00:00
James Groom 40b17b59c4
Move events from `EmuClientApi` to `MainForm`
the `event` members remain, but the triggering is now delegated back to `MainForm`, and the additional processing has been moved there too
2023-11-22 12:25:44 +00:00
CasualPokePlayer 1909950742 Rebuild most of the .so's on Debian 10
Also fix up libbizhash so it builds on clang
Slight fixes to sameboy and msxhawk makefiles
Fix rcheevo submodule commit (no actual changes, just make it point to a commit upstream actually has)
SDL2 .so not yet rebuilt, need to consider how to do that
citra seems to need at least Debian 11 to build
libe_sqlite3.so seemed to have already been built with Debian 10 so not bothering touching that
libwaterboxhost.so is Rust / targets glibc 2.28 anyways, nothing needs to be done there
2023-11-22 00:50:47 -08:00
CasualPokePlayer ef90a3d63d Emu83 update
This just mainly updates the build system from scons to CMake and adds msvc/clang compat (dll is rebuild with clang-cl, so will be built later)
2023-11-21 23:25:40 -08:00
James Groom 197b357419
Migrate code analysis ruleset to new format
fixes 362269c98
2023-11-22 05:13:48 +00:00
James Groom 09e3ed6f26
Rename .globalconfig
specific filename meant it was implicitly and automatically picked up, similar to Directory.Build.props; now it's explicit
2023-11-22 04:01:43 +00:00
James Groom ca5dc1a6e8
Extract disc hashing from Octoshock, clean it up, and add to Nymashock 2023-11-21 06:54:11 +00:00