Skip to content

Conversation

@nadiaholmquist
Copy link
Owner

No description provided.

redbluegreenhat and others added 29 commits May 11, 2025 13:10
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
…#2331)

- 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
* 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
hardware does not care that the polygon's mode would prevent the texture from rendering translucent pixels
* Add DS Motion Pak emulation

* Add retail Motion Pak emulation, Guitar Grip emulation

* Simplify Motion Pak acceleration conversion formula

* Fix Motion Pak emulation axes

* Motion Pak: Emulate console laying on a flat table when motion input is not detected

* Motion Pak: Add comment

* GBACartMotionPak: Update comment
…en the frame height isn't a multiple of the DMA interval)
…indows to avoid GL issues. fix bug with window parenting in second multiplayer instances.
RayyanAnsari and others added 26 commits August 29, 2025 17:41
Set the protection on the code memory to RW when the fault handler
rewrites code, and set it back to RX, the protection prior to the
interrupt, after doing so.

This fixes a segfault that occurred on NetBSD, due to its PaX MPROTECT
policy, when trying to run fastmem.

This could potentially be the reason as to why fastmem does not work on
Apple Silicon Macs, although I am unable to confirm as I do not possess
such a device to test with.
* sockaddr_in is a forward declaration on *BSD, explicitly include the correct header

* fix building with ENABLE_JIT on OpenBSD targets

* add wxallowed linker flag for openbsd targets

* OpenBSD armjit sc_exr -> sc_elr

* wxallowed -> wxneeded

* force mmap for jit on OpenBSD

* disable fastmem on OpenBSD

* fix typo in disabling fastmem for OpenBSD

* add missing space in this if
* fix: GDB stub reading wrong code for vCont packet

* Implementation did contain bug, fixup
Adapt the existing OpenBSD workflow to also run on FreeBSD and NetBSD,
using the dynamic-uses action and a matrix strategy for each OS.
Cast the data pointer to const u8*, not u8*, to fix a compiler warning.
)

* Add high-quality resampling using blip-buf to the core

This also gets rid of the need for the frontend to resample the audio,
as it can simply ask the core to produce audio at whatever sample rate
it desires.

* allow setting an audio output skew to alter the timing slightly
  This makes up for the difference of e.g. the frontend targeting a clean
  60FPS instead of the actual 59.8...FPS.

* remove hack that was used to have the SPU produce silence
This removes the need to include private headers from QtGui, which
should remove the need to install the relevant package and make melonDS
easier to build in nonstandard environments.
fixes the Qt dependency on macOS
* support for importing cheats from usrcheat.dat
* expand cheat format to add support for the extra info in usrcheat.dat
* add said features to the cheat editor
* improve cheat editor UI (add support for moving stuff around, etc)
Backflips are almost impossible to pull off in SM64DS if you don't do this
@Rokim21
Copy link

Rokim21 commented Nov 23, 2025

Ive tried to use this version of MelonDS, alongside the Solatorobo patch in shoco, but it freezes the game when I try it even with slot-2 loaded in.
Any ideas why that may happen?

@nadiaholmquist
Copy link
Owner Author

What patch is that exactly? The only thing I have tried this with is the patched English version of Super Mario 64 DS, I have no idea if it works with anything else.

@Rokim21
Copy link

Rokim21 commented Nov 27, 2025

What patch is that exactly? The only thing I have tried this with is the patched English version of Super Mario 64 DS, I have no idea if it works with anything else.

It's within the same thread as the one with the original SM64DS patch, same author and all

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.