Commit Graph

2345 Commits

Author SHA1 Message Date
Arisotura 8bd50bb8b3 MERGEZORZ 2024-05-20 00:46:59 +02:00
Arisotura c3226f435c make it actually work, somewhat
still a lot more crap to fix
2024-05-20 00:19:22 +02:00
Arisotura e50463e983 finally, it builds
(don't get your hopes up. it crashes)
2024-05-20 00:04:05 +02:00
Arisotura 3d47fa08b8 migrate AudioInOut inside EmuInstance 2024-05-19 23:58:14 +02:00
Arisotura 21de51bb3f zarg 2024-05-19 21:34:20 +02:00
Arisotura cde47f56c5 it keeps going 2024-05-19 01:42:44 +02:00
Arisotura 30444036a6 botch one more thing 2024-05-18 11:58:17 +02:00
Arisotura 2fc1ae780b hey look, more shit 2024-05-18 11:45:31 +02:00
Arisotura 10380320c5 more work
aaaaaaaa
2024-05-16 21:20:10 +02:00
Arisotura d10b5f8b8a more work
feuhqdskfqejlmdsjjjvwdccccccccccccccccccccccccccccccccccc
2024-05-15 01:00:41 +02:00
Arisotura 7e705b6b41 almost looks like something? 2024-05-12 01:24:03 +02:00
Arisotura 3f6af2ce3b backport Nadia's zstd fix 2024-05-12 00:00:51 +02:00
Arisotura 199c2df8bb some more work, nearly done porting ROMManager shit over 2024-05-11 23:59:08 +02:00
Arisotura b96f1bd734 add more shit to EmuInstance 2024-05-11 10:18:05 +02:00
Arisotura faa6cfec48 WIP. lay base for EmuInstance. 2024-05-10 12:48:32 +02:00
Arisotura f93937e88b as a test, convert EmuSettingsDialog to the new config shito 2024-04-18 16:52:18 +02:00
Arisotura 92d1614b45 add array stuff 2024-04-17 23:02:08 +02:00
Arisotura 9283d1ae36 lay some groundwork for the new config system 2024-04-17 18:09:32 +02:00
Arisotura b0c32d77bd some work on converting melonDS.ini to toml 2024-04-15 00:26:09 +02:00
Arisotura c6427d2501 switch to toml11 2024-04-14 20:25:11 +02:00
Arisotura 95adc87f6d wifi: try ignoring MP frames if not engaging in MP comm 2024-04-13 12:17:16 +02:00
Arisotura 8feeee6103 Input: only check joystick input if a joystick actually exists 2024-04-12 20:02:16 +02:00
Arisotura d99c571f94 FATStorage: make sure to always properly unmount the volume (fixes evil bug) 2024-04-12 19:43:02 +02:00
Arisotura 111dc7a563 wifi improvements:
* implement channels
* rework power-down support, fixing bugs
* fix bug when W_BeaconInterval is zero
* fix potential missing IRQs when writing to W_IE
2024-04-12 17:28:51 +02:00
Arisotura 0b87dd5fa6 fix touchscreen bug on Wayland 2024-04-09 12:54:31 +02:00
Arisotura 968bd26d85 fix generation of instance-unique MAC address when using an external firmware 2024-04-09 11:38:38 +02:00
Arisotura adb5760604 push temp. shito 2024-04-05 23:00:19 +02:00
Nadia Holmquist Pedersen 6e26559cd2
ci: fix macOS build
GitHub Actions' macOS runners have Python from homebrew installed and it's used by default instead of the Python that ships with macOS. Apparently Homebrew decided you shouldn't be able to install stuff with `pip3` anymore so our build broke since `setuptools` is no longer included by default and `glib` from vcpkg needs it to build.

Additionally,, the whole liblzma mess ended up breaking our builds too because libarchive (and its dependency libxml2) depends on it and the download is no longer available. The build option changes here should be reverted once this is sorted out because this is probably partially breaking archive support.

PS: Fuck you Jia Tan.
2024-04-03 14:49:27 +02:00
Jesse Talavera 31a7f53282
Fix a crash when using DSi mode in debug builds on macOS (#1976)
Store the BIOS images in `NDSArgs`/`DSiArgs` through pointers, not directly

- This will make it easier to keep such objects on the stack
2024-03-13 14:55:20 +01:00
RSDuck ea1755bed0 call Start again NDS object after Reset
fixes issue where game doesn't properly start after changing settings
2024-03-12 09:23:20 +01:00
RSDuck 5fdd285c9a fix aarch64 build 2024-03-12 08:41:42 +01:00
RSDuck 18d1df606f fix #1959
Use QT again for opening file so that we don't depend on locale
2024-03-12 08:35:56 +01:00
Nadia Holmquist Pedersen b117bb8f58 that should be 0x8000 2024-03-08 16:59:31 +01:00
Nadia Holmquist Pedersen faf3c0f2e0 Add Gaussian (SNES) audio interpolation
Probably not a good choice for most DS games unless you really want a
very soft sound, but it could be fun if you wanted to run lolSnes in
melonDS :p
2024-03-08 16:36:00 +01:00
Nadia Holmquist Pedersen e227902cec Util_Audio: use basic linear interpolation
Should remove the artifacts caused by the previous nearest
resampling. May be worth replacing with something better in the
future, but this is an improvement for now.
2024-03-03 16:58:59 +01:00
Nadia Holmquist Pedersen 67ca4997e2 Release all keyboard keys on focus loss (fixes #1987) 2024-02-25 14:25:50 +01:00
Nadia Holmquist Pedersen 21e2a876ec build teakra's test_generator.cpp only if building its unit tests is
enabled

speeds up builds a bit
2024-02-24 01:47:04 +01:00
Arisotura 1abc1e9cff test 2024-02-20 13:31:44 +01:00
Arisotura 6a2039aee1 remove global emuThread from Window.cpp 2024-02-20 13:29:21 +01:00
Arisotura a7a7ac53c1 also fix this, it bothers me 2024-02-20 12:44:12 +01:00
Arisotura a6ab27de6b actual non hacky way to share OpenGL contexts 2024-02-20 12:41:47 +01:00
Arisotura 660d830135 oops 2024-02-20 12:31:00 +01:00
Arisotura 5c93ab4271 start work on multiple window support 2024-02-20 12:30:19 +01:00
λP.(P izzy) 9430502b16
fix malloc on OpenBSD targets (#1979) 2024-02-20 03:33:39 +01:00
Jaklyy a8429af131
dont make a save file on launching a game (#1974)
avoids the issue of saves being created for roms that dont use save files.
2024-02-13 20:17:29 +01:00
Nadia Holmquist Pedersen 3415e23105 delete-artifact keeps failing PR CI even when you tell it not to fail on error so I guess we're just not using it. 2024-02-13 20:15:03 +01:00
Luca D'Amico 646ed3cb32
Add Haiku (BeOS-like OS) support (#1858) 2024-02-07 23:15:30 +01:00
Jaklyy 5ffa642980
Check for write permissions for some key files (#1972)
* check if an nds save file can be opened for writing

also add the ability to open a file in append mode

* fix multi-instance saves

also move the check for file writability into a separate function (probably uneeded?)

* implement check for gba roms

* move rom load error messages into the functions

also finish gba slot (oops)

* improve error string

* check write perms before saving path settings

* fix memory leak

* check for writability of firmware/nand/sds

* add secondary checks for nand/firmware

* add check for config file being writable

* Return the file write error as a QString to avoid the invalid char*
causing a garbled error message.

Qt wants it as QString either way.
2024-02-07 23:04:36 +01:00
Nadia Holmquist Pedersen 71e1ba8c40
Linux CI updates (#1965)
* Switch to using Qt 6
* Use Ubuntu 22.04 for newer dependency versions
* Combine AppImage and regular x86_64 builds so it doesn't have to build twice
* Misc cleanup
2024-02-07 22:29:13 +01:00
Nadia Holmquist Pedersen 17a1bfa673
macOS CI updates (#1973)
* Use macOS 14 M1-based runners for macOS CI
* Hopefully make the universal build erroring not fail the build (does sometimes with delete-artifact)
* Update vcpkg version
2024-02-07 22:27:04 +01:00