Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Resolve or silence some warnings (#1905) | Jesse Talavera | 2023-12-28 |
| | | | | | | | | | * Resolve some warnings - Their frequent appearance in the build logs is driving me nuts * Silence warnings about `offsetof` * Don't apply `-Wno-invalid-offset` to C, only to C++ | ||
* | integrate OSD into ScreenPanel and make it nicer | Arisotura | 2023-12-28 |
| | |||
* | sfjsh | Arisotura | 2023-12-27 |
| | |||
* | Add `alignas` specifiers to some arrays based on how they're accessed (#1933) | Jesse Talavera | 2023-12-26 |
| | | | | | | | * 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 | ||
* | fix OSD scaling on hiDPI screens | Arisotura | 2023-12-26 |
| | |||
* | separate EmuThread to its own file | Arisotura | 2023-12-26 |
| | |||
* | Merge branch 'master' of github.com:melonDS-emu/melonDS | Arisotura | 2023-12-26 |
|\ | |||
| * | Apply some quick hotfixes (#1931) | Jesse Talavera | 2023-12-26 |
| | | |||
| * | Don't call Reset on nullptr | Nadia Holmquist Pedersen | 2023-12-26 |
| | | |||
| * | "Incorrectly" link libslirp to stop its broken build system fucking up | Nadia Holmquist Pedersen | 2023-12-26 |
| | | | | | | | | our linker flags | ||
| * | Screen.cpp: include missing headers | Nadia Holmquist Pedersen | 2023-12-26 |
| | | |||
* | | start cleaning up: move OpenGL stuff out of EmuThread | Arisotura | 2023-12-26 |
|/ | |||
* | oops | Arisotura | 2023-12-25 |
| | |||
* | add convenience method to Window class for OSD messages | Arisotura | 2023-12-25 |
| | |||
* | move MainWindow and Screen stuff to separate files; WIP | Arisotura | 2023-12-24 |
| | |||
* | Support GBA .sav file with appended .rtc (#1927) | Samuel Magnan | 2023-12-24 |
| | | | | | * Support GBA .sav file with appended .rtc * Change comment | ||
* | fix possible crash | Arisotura | 2023-12-23 |
| | |||
* | do not access NDS object emulation is paused | RSDuck | 2023-12-22 |
| | |||
* | Don't try to call transferLayout on non-GL ScreenPanel | Nadia Holmquist Pedersen | 2023-12-22 |
| | |||
* | Attempt to get rid of leftover QSharedMemory instance after crash | Nadia Holmquist Pedersen | 2023-12-22 |
| | |||
* | Reset DS object directly after creation | RSDuck | 2023-12-21 |
| | |||
* | call Reset on 3D renderer object | RSDuck | 2023-12-21 |
| | |||
* | Check Q_OS_UNIX define instead | Nadia Holmquist Pedersen | 2023-12-20 |
| | |||
* | Fix generic icon when using Wayland | Daniel Simon | 2023-12-20 |
| | |||
* | Wrap the `EnableJIT` initialization in an `#ifdef` (#1922) | Jesse Talavera | 2023-12-20 |
| | |||
* | Set `NDS::EnableJIT` in the constructor (#1921) | Jesse Talavera | 2023-12-19 |
| | |||
* | Fix an incorrect use of `std::move` (#1919) | Jesse Talavera | 2023-12-16 |
| | | | | - 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 | ||
* | Add a call to `std::move` that I missed (#1917) | Jesse Talavera | 2023-12-15 |
| | |||
* | Simplify the SRAM's representation in `NDSCartArgs` (#1914) | Jesse Talavera | 2023-12-15 |
| | | | | | | | | | * Simplify the SRAM's representation in `NDSCartArgs` - I overthought this one. - I could've just checked `args && args->SRAM`, but then some other poor bastard might make this mistake. - Don't mix `pair`, `optional`, and `unique_ptr` all at once, kids. * Fix a `nullptr` read | ||
* | Fix detection of native NDS ARM BIOS images (#1910) | Jesse Talavera | 2023-12-15 |
| | | | | | | | | | | * Fix detection of native NDS ARM BIOS images - Instead of checking for built-in BIOS images, now the altered methods check for native ones - The CRC32 must match exactly; patched BIOS images will result in `false` * Encapsulate `NDS::ARM9BIOS` and `ARM7BIOS` - Also compute the checksum only when setting the BIOS | ||
* | Make the initial 3D renderer configurable via `NDSArgs` (#1913) | Jesse Talavera | 2023-12-15 |
| | | | | | | | * Allow 3D renderers to be created without passing `GPU` to the constructor * Make the initial 3D renderer configurable via `NDSArgs` * Fix a compiler error | ||
* | Support emulating R4 Revolution/M3DS Simply cartridges. (#1854) | Adrian Siekierka | 2023-12-15 |
| | | | | | | | | | | | | | | | | | | | * Support emulating R4 Revolution/M3DS Simply cartridges. * NDSCartR4: Write state information to savestate file. * NDSCart: Use strncmp instead of strcmp for R4 detection. * NDSCartR4: stylistic improvements * NDSCartR4: rudimentary Ace3DS support * NDSCartR4: fix boot when firmware enabled * NDSCartR4: Fix for namespace changes --------- Co-authored-by: RSDuck <RSDuck@users.noreply.github.com> | ||
* | Sprinkle `const` around where appropriate (#1909) | Jesse Talavera | 2023-12-12 |
| | | | | | | | | | * Sprinkle `const` around where appropriate - This will make it easier to use `NDS` objects in `const` contexts (e.g. `const` parameters or methods) * Remove the `const` qualifier on `DSi_DSP::DSPRead16` - MMIO reads can be non-pure, so this may not be `const` in the future | ||
* | fix default emu settings tab (#1912) | Jaklyy | 2023-12-12 |
| | |||
* | Fix some conflicts with windows.h in some configurations | Nadia Holmquist Pedersen | 2023-12-11 |
| | | | | Fixes build in the MSYS2 Clang/ClangARM64 environments. | ||
* | hopefully reset all GPU3D attributes properly | RSDuck | 2023-12-08 |
| | |||
* | Fix GBA<->DS comm not working when using FreeBIOS | Nadia Holmquist Pedersen | 2023-12-08 |
| | | | | Thanks CasualPokePlayer for pointing this out | ||
* | Don't try to poke at the header on deinit if MPQueue is nullptr | Nadia Holmquist Pedersen | 2023-12-08 |
| | |||
* | Fix some minor instances of undefined behavior | Jesse Talavera-Greenberg | 2023-12-08 |
| | |||
* | Correctly use the refactored `JitEnableWrite` | Jesse Talavera-Greenberg | 2023-12-08 |
| | |||
* | Rearrange some `#include`s | Jesse Talavera-Greenberg | 2023-12-08 |
| | |||
* | Add some headers that were transitively included by the JIT | Jesse Talavera-Greenberg | 2023-12-08 |
| | |||
* | Move some constants to `MemConstants.h` | Jesse Talavera-Greenberg | 2023-12-08 |
| | |||
* | Exclude JIT-related declarations more aggressively | Jesse Talavera-Greenberg | 2023-12-08 |
| | |||
* | Add `override` to the ARM64 JIT's destructor | Jesse Talavera-Greenberg | 2023-12-08 |
| | |||
* | Don't set the JIT args if the JIT is off | Jesse Talavera-Greenberg | 2023-12-08 |
| | |||
* | Add stubs for `NDS::IsJITEnabled` and `SetJITArgs` for when the JIT is excluded | Jesse Talavera-Greenberg | 2023-12-08 |
| | |||
* | Remove a loose qualifier | Jesse Talavera-Greenberg | 2023-12-08 |
| | |||
* | Soften restrictions around `ARMJIT_Memory::RemapNWRAM` | Jesse Talavera-Greenberg | 2023-12-08 |
| | | | | | - If in NDS mode, return instead of `assert`ing - Use `static_cast` and `ConsoleType` instead of `dynamic_cast` | ||
* | FreeBIOS: Ensure upper 16 bits are cleared in the initial crc16 value. | CasualPokePlayer | 2023-12-06 |
| | | | | | Fixes Castlevania: Dawn of Sorrow's checksumming which uses crc16 swi and has garbage in the upper 16 bits of r0. The official BIOS would seem to implicitly clear these upper 16 bits. |