fincs
fincs
I recall trying to fix this myself ages ago, and ending up with out of tune sample playback. This needs more investigation.
The floating point emulation routines come from libgcc and are expected to conform to IEEE floating point specifications, since GCC relies on compliant behavior to produce correct code. Overriding piecemeal...
I'd kindly like to point out that you're looking at probably one of the oldest collections of code produced by devkitPro. There have been a good number of lessons learned...
If you can, submitting a PR that fixes this would be very much appreciated.
Is there any way we can fast path wutmalloc when the default heap is not overridden by the application, and avoid the overhead in that case?
The changes made to DS-specific routines do not accomplish anything (the allocated buffers are initialized prior to first use).
> However, I'm aware there's an ongoing (done, perhaps?) rewrite of the libctru graphics system, which is why this is an issue, and not a pull request. There are indeed...
con_write receives a sized buffer (it is the implementation of [write(2)](https://man7.org/linux/man-pages/man2/write.2.html) for libnds's console stdout), not a NULL terminated string. By any chance are you using \x1b console escape codes?
The armv5 instruction set lacks atomic instructions. Usually they need to be supplied or emulated by the operating system or compiler support libraries. GCC inserts calls to libatomic, which we...
According to [gbatek](https://problemkaputt.de/gbatek-ds-cart-rumble-pak.htm), the official Rumble Pak (NTR-008, "bundled with Metroid Prime Pinball") reports itself as 0xFFFD, not 0x7E00. Can you provide a picture of the device? Does it actually...