* Fix a GCC 15 build issue on Windows due to a missing `#include`
- `<vector>` was included implicitly by some other header
- The build broke in GCC 15 on MinGW, most likely due to some internal refactoring
* Indent these `#include`s the same as the others
- Indexing past the end of a `std::vector`'s length is undefined, even if there's extra capacity
- GCC 15 introduced an assert in `vector::operator[]`, so this line caused an abort if melonDS was built with GCC 15
- It was always undefined, but now the STL checks for it
Fixes compilation of JIT builds on non-glibc OSes. After some testing in a Fedora 41 VM,
__sysconf and sysconf return the same value, and sysconf in glibc appears to just
be an alias to __sysconf to begin with
* Add a `GBAHeader` struct
* Add extra `GBAAddon` entries for the Boktai carts
- Each game in the trilogy has a different effect on Lunar Knights (the only commercial DS game to support the solar sensor)
* Copy the logo data from the NDS ROM's header to the Boktai stub's header
Fix almost every warning as of Clang 19
* <codecvt> is deprecated, we can use QString's UTF-16 conversion
instead
* remove sem_timedwait implementation as we don't need it anymore
* remove a useless shift that has its result discarded
* change usages of deprecated sprintf to snprintf
The check for initialising the gdbstub depending on whether the JIT was
enabled or not was the wrong way around: previously, it would only
enable the gdbstub if the JIT was enabled.
The stub started working again if you reset the console, as
NDS::SetGdbArgs didn't have any such check and it was called by
EmuInstance::updateConsole.
Truncate the title at the first occurrence of \0, as title strings
should be null-terminated.
Fixes#2219 (Weird characters on DSi Title Manager on melonDS 1.0RC)
* works on Linux x64
still needs to be fixed for everything else
* use lots of PROT_NONE memory to reliably reserve virtual address space
* multi instance fastmem on Linux
* Windows
* blarg
* disable fastmem if the page size is not 4kb
* fix fast mem dialog option
* make aarch64 work as well
* fastmem 16kb pages support
(had to rework the loading code to make it work -- if carts are passed to the DSi constructor, they get initialized before the DSi stuff is initialized, and can't read the DSi BIOSes)
* Support 8-bit writes to REG_IPCSYNC
* Support CP15 Trace Process ID register
* NWifi: expose correct manfid information in CIS0/CIS1 area
* NWifi: basic support for WMI_SET_PROBED_SSID
# Conflicts:
# src/DSi_NWifi.cpp
* DSi_NAND: fix incorrect CTR IV calculation code