Commit Graph

2296 Commits

Author SHA1 Message Date
Nadia Holmquist Pedersen d89536e925 Unify/simplify actions naming 2023-12-28 14:56:04 +01:00
Nadia Holmquist Pedersen eac4d67903 Restore the workflows 2023-12-28 13:52:24 +01:00
Nadia Holmquist Pedersen f5f1eaf631 Put the finishing touches on it 2023-12-28 13:48:35 +01:00
Nadia Holmquist Pedersen 3b7d69a644 let's try it again, but better this time 2023-12-28 13:28:23 +01:00
Nadia Holmquist Pedersen 06a3ad868b let's try actually combining them 2023-12-28 13:16:03 +01:00
Nadia Holmquist Pedersen c19a9412a5 oops 2023-12-28 12:55:35 +01:00
Nadia Holmquist Pedersen b614030ca3 let's test if this works first 2023-12-28 12:53:25 +01:00
Nadia Holmquist Pedersen 565228ddb7 Let's try arm64 2023-12-28 11:45:07 +01:00
Nadia Holmquist Pedersen c4eddc70f9 something something distutils deprecated use setuptools whatever ok we try that 2023-12-28 11:22:11 +01:00
Nadia Holmquist Pedersen be9846709f a 2023-12-28 11:19:29 +01:00
Nadia Holmquist Pedersen c8c9755075 OF COURSE it's python 2023-12-28 11:17:44 +01:00
Nadia Holmquist Pedersen a93622e763 this is so fucking stupid 2023-12-28 11:11:33 +01:00
Nadia Holmquist Pedersen 0da278cc52 does it need meson 2023-12-28 11:05:02 +01:00
Nadia Holmquist Pedersen e48f3654b1 maybe it's libtool then 2023-12-28 10:20:51 +01:00
Nadia Holmquist Pedersen 11154b9297 maybe?????? 2023-12-28 10:12:16 +01:00
Nadia Holmquist Pedersen f89858eae9 I think this is the extra shit glib needed? 2023-12-28 09:59:29 +01:00
Nadia Holmquist Pedersen 0d51d35277 vcpkg commit 2023-12-28 09:47:50 +01:00
Nadia Holmquist Pedersen f9ddf6eac5 vcpkg commit 2023-12-28 09:46:05 +01:00
Nadia Holmquist Pedersen 1c290e3c65 let's try this 2023-12-28 09:39:56 +01:00
Nadia Holmquist Pedersen 4f33da153e Delete all the workflows so they don't complain at me while I'm doing this 2023-12-28 09:31:50 +01:00
Nadia Holmquist Pedersen 5439742578 Add basic CMake presets file
I'll probably use this for CI, but regardless it's nice to have to make
it easier for users to build melonDS.
2023-12-28 09:25:05 +01:00
Arisotura fa835ecf68 blarg 2023-12-27 21:29:25 +01:00
Arisotura 5a08118c87 sfjsh 2023-12-27 21:28:03 +01:00
Jesse Talavera cbd65a131e
Add `alignas` specifiers to some arrays based on how they're accessed (#1933)
* Align some two-element `u32` arrays as `u64`s

- To pacify "unaligned read/write" warnings from UBSan

* Align some more arrays based on how they're accessed
2023-12-26 22:09:39 +01:00
Arisotura ab8938a695 fix OSD scaling on hiDPI screens 2023-12-26 19:32:38 +01:00
Arisotura f905b6fb93 separate EmuThread to its own file 2023-12-26 19:24:14 +01:00
Arisotura fd1e4379b9 Merge branch 'master' of github.com:melonDS-emu/melonDS 2023-12-26 19:04:31 +01:00
Arisotura 7f437d48db start cleaning up: move OpenGL stuff out of EmuThread 2023-12-26 19:04:01 +01:00
Jesse Talavera d55a384c88
Apply some quick hotfixes (#1931) 2023-12-26 16:34:04 +01:00
Nadia Holmquist Pedersen 740489f7a4 Don't call Reset on nullptr 2023-12-26 08:49:02 +01:00
Nadia Holmquist Pedersen ac3153d86b "Incorrectly" link libslirp to stop its broken build system fucking up
our linker flags
2023-12-26 08:14:30 +01:00
Nadia Holmquist Pedersen 65780e6ba2 Update vcpkg 2023-12-26 08:14:20 +01:00
Nadia Holmquist Pedersen 27ac8dbc14
Integrate support for building with dependencies from vcpkg (#1880)
* Integrate support for building with dependencies from vcpkg

Configure the build using -DUSE_VCPKG=ON to use vcpkg. By default
recommended triplets targeting the OS versions official builds support
are used. You can opt out of this with -DUSE_RECOMMENDED_TRIPLETS=OFF.

* Add the vcpkg manifest

* Fetch vcpkg with FetchContent if we don't have it

* macOS cross compiling fixes

- can't use the x86_64 one as host triplet on arm64 because building Qt
  fails for whatever reason. Because of course it does :D
- vcpkg doesn't always like periods in triplet names so removed those

* x86_64 macOS should also use its recommended target when building arm64 builds
2023-12-26 06:51:49 +01:00
Nadia Holmquist Pedersen 4d3af0d915 Make that FindWayland warning shut up
Hopefully "stable" distros use a not-ancient-enough CMake version that
this should be okay.
2023-12-26 05:12:26 +01:00
Nadia Holmquist Pedersen f16de402cf Screen.cpp: include missing headers 2023-12-26 04:26:38 +01:00
Arisotura 5c90cb939d oops 2023-12-25 22:52:44 +01:00
Arisotura 80c6dd524b add convenience method to Window class for OSD messages 2023-12-25 16:34:29 +01:00
Arisotura 6a1232b9a9 move MainWindow and Screen stuff to separate files; WIP 2023-12-24 15:11:30 +01:00
Samuel Magnan f580d20a7b
Support GBA .sav file with appended .rtc (#1927)
* Support GBA .sav file with appended .rtc

* Change comment
2023-12-24 01:09:43 +01:00
Arisotura de4ae9dd92 fix possible crash 2023-12-23 23:59:59 +01:00
RSDuck 989b93c92a do not access NDS object emulation is paused 2023-12-22 23:30:59 +01:00
Nadia Holmquist Pedersen 521fc249a3 Don't try to call transferLayout on non-GL ScreenPanel 2023-12-22 02:17:26 +01:00
Nadia Holmquist Pedersen 752b37ed82 Attempt to get rid of leftover QSharedMemory instance after crash 2023-12-22 01:35:45 +01:00
RSDuck 084747abc5 Reset DS object directly after creation 2023-12-21 22:15:12 +01:00
RSDuck ed650f2b46 call Reset on 3D renderer object 2023-12-21 21:43:57 +01:00
Nadia Holmquist Pedersen fd3c349735 Check Q_OS_UNIX define instead 2023-12-20 21:38:55 +01:00
Daniel Simon 6c6318b63b Fix generic icon when using Wayland 2023-12-20 21:38:55 +01:00
Jesse Talavera 01f8ad009e
Wrap the `EnableJIT` initialization in an `#ifdef` (#1922) 2023-12-20 14:25:49 +01:00
Jesse Talavera 4b4239de62
Set `NDS::EnableJIT` in the constructor (#1921) 2023-12-19 15:15:35 +01:00
Jesse Talavera 1bec2a9293
Fix an incorrect use of `std::move` (#1919)
- When I adapted `GBACart::ParseROM` to use `unique_ptr` instead of a plain pointer, I forgot to remove the code that copied the SRAM data
- That code was made unnecessary because of the move
2023-12-16 00:05:43 +01:00