Commit Graph

561 Commits

Author SHA1 Message Date
3fc065d72d fix ROM preloading to also go through EmuThread 2024-10-24 17:48:34 +02:00
1787235e09 fix more shit
now it doesn't shit itself on startup if the BIOS paths are wrong
2024-10-24 17:20:14 +02:00
13b4cea171 move screen layout/etc options to new View menu 2024-10-24 16:08:04 +02:00
1666049531 fix shit 2024-10-24 14:00:11 +02:00
6d3ea6a485 fix bug with the GBA addon menu (and make it a proper list so we don't have to hardcode the length all over) 2024-10-24 13:49:43 +02:00
079341f102 take this a bit further 2024-10-24 11:44:21 +02:00
82f38f0b7a start moving ROM/firmware loading to the emuthread to avoid cursed bugs 2024-10-24 00:27:05 +02:00
1428bfb2cf fix one of the cursed bugs 2024-10-23 20:33:31 +02:00
b993ec10cd remove "Test" menu item 2024-10-23 11:57:37 +02:00
216b8e045d fix audio interpolation setting range 2024-10-07 11:28:58 +02:00
30441fed24 do not restore fullscreen state from saved geometry 2024-10-06 19:00:54 +02:00
aa443c8846 fix #2083 and minor cleanup 2024-10-06 17:33:03 +02:00
f13c70d028 fix blow noise input
(microphone input takes signed values)
2024-10-01 19:52:10 +02:00
e9446fa9dc implement 3 configurable and toggleable framerate targets (#2159)
This pr allows for configuring the framerate target and adds support for two other framerate targets, a "fastforward" and "slowmo" target which can be enabled via either a toggle or holding a button.
this allows for supporting a more accurate framerate target and allows for users to slow down the speed of gameplay if they so desire
2024-09-29 09:30:13 +02:00
2eb6d44c2c prevent use after free through focusOutEvent when window is closed 2024-09-24 20:08:07 +02:00
74f479ce6d gdb stub config setup fixes 2024-09-11 14:41:22 +02:00
268c4f14c1 vcpkg: support building on Linux 2024-09-06 22:50:12 +02:00
0e6235a7c4 LAN: remember player name and max players setting 2024-08-15 13:34:27 +02:00
c6cab9ed41 mac-libs.rb: Make bundling a bit smarter
* Resolve symlinks to avoid including the same thing twice (like
  version-numered dylib symlinks)
* Look in all Qt prefix paths for plugins - the package may not
  necessarily have the same path
* reduce install_name_tool invocations to make it a bit faster
* change dylib IDs to remove original source path
2024-08-13 07:53:09 +02:00
8d31875902 Backport LAN (#2131)
backport the old LAN feature to the modern melonDS codebase.
2024-08-10 23:20:50 +02:00
ec71b15505 Add a Nix flake (#2097)
Adds a Nix flake, allowing easy building and running of melonDS using the Nix package manager, as well as potentially very stable and reproducible CI in the future.
2024-08-08 05:36:06 +02:00
a174901412 fix building with system libslirp 2024-08-07 17:24:07 +02:00
8423dae6ff Add "Open melonDS directory" menu option 2024-08-07 15:53:58 +02:00
76c2723f5c Fix console output on Windows (#2122)
Co-authored-by: pants64DS <pants64DS@users.noreply.github.com>
2024-08-02 02:21:37 +02:00
327ce45124 Refactor network implementations to be more reusable and less buggy (#2107)
encapsulate network interfaces
2024-08-01 22:02:45 +02:00
c6bf5d5181 Allow AREngine to be used independently of ARCodeFile (#2108)
* Make `EmuInstance::cheatFile` use a `unique_ptr`

- Fixes a memory leak, as the cheat file wasn't cleaned up in the destructor

* Split `AREngine` and `ARCodeFile` apart

- Suitable for frontends that have their own way of storing cheats
- Store the cheats in `AREngine` in a `std::vector`
- Apparently cheats are _supposed_ to be executed each frame; I didn't understand this until recently
2024-08-01 22:01:00 +02:00
f3f6a6a194 Fix building on i686 Linux
I doubt anyone actually cares about support for it but hey may as well?
2024-08-01 21:57:32 +02:00
b778fbaad1 attempt at correct utf8 decoding for toml config file path 2024-07-30 17:48:41 +02:00
01c2d65f07 Explicitly include QModernWindowsStylePlugin in static builds
I hope this'll make it look right.
2024-07-30 03:10:01 +02:00
12563fb636 use platform file functions for savestates and NAND importing file check
should fix character encoding issues on Windows
2024-07-29 00:15:19 +02:00
d31eabb6fa Don't disable firmware settings controls when override external firmware
settings is disabled
2024-07-27 16:56:29 +02:00
821f5f5f29 Allow frontends to use different headers for OpenGL declarations (#2102) 2024-07-21 17:02:31 +02:00
9b828c2cde Implement Rumble Pak support. (#2101) 2024-07-21 17:01:30 +02:00
5eadd67df6 EmuInstance: Use GetLocalFilePath to get the wfcsettings path
Fixes the file being created in the current working directory.
2024-07-17 15:44:47 +02:00
4b17de7e8c Fix annoying Qt touch event deprecations for real this time 2024-07-15 14:37:37 +02:00
71f4d7b222 deviceType doesn't exist in Qt5 apparently 2024-07-15 14:04:40 +02:00
6d2ad2a3f0 Ignore touch events originating from trackpads
Fixes multi-finger gestures causing spurious touch screen presses
Also fix some deprecations when we're at it anyway
2024-07-15 13:57:21 +02:00
2031f491f0 fix some Qt6 bugs (buttonClicked -> idClicked) 2024-07-15 13:00:40 +02:00
d92c9fcd90 do not immediately create a core when creating an EmuInstance. fixes some nasty potential bugs. watch out for bugs this may introduce though... 2024-07-15 12:57:18 +02:00
94ba7c1594 Split networking code into its own target (#2091) 2024-07-14 17:03:21 +02:00
a82b5758bc Update EmuInstance.cpp (#2090) 2024-07-11 13:48:27 +02:00
b55eb431bd ensure that we actually link the OpenGL library on macOS 2024-07-07 13:45:45 +02:00
1302cbdd64 frontend: Restore linear interpolation for audio output resampling
Also, do it smarter this time. This seems to have gone missing with the
doublemelon merge.
2024-07-07 08:19:49 +02:00
4e3592f2d4 Fix loading GBA carts
UpdateConsole forgot to reinsert it when messing with the NDS.
2024-07-02 08:18:44 +02:00
f2611680ca EmuInstance: check consoleType from NDS rather than the instance's when
updating console, fixes crash on console type switch

EmuInstance::consoleType is already updated, so the check for whether we
should recreate the NDS to switch console type never succeeds.
2024-07-02 06:23:21 +02:00
626d2379bc * fix default for audio volume
* add default bools for battery settings
2024-06-17 14:51:32 +02:00
ae44ba2475 blarg 2024-06-15 21:01:27 +02:00
649462ff5c fix more bugs and crap 2024-06-15 20:57:26 +02:00
890dc4f228 fix other bugs with these regexes 2024-06-15 19:23:18 +02:00
d449888405 fix up the regexes in Config.cpp 2024-06-15 19:10:28 +02:00