Skip to content

slot2 analog wip - #4

Open
nadiaholmquist wants to merge 171 commits into
masterfrom
feature/slot2-analog
Open

slot2 analog wip#4
nadiaholmquist wants to merge 171 commits into
masterfrom
feature/slot2-analog

Conversation

@nadiaholmquist

Copy link
Copy Markdown
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.
Arisotura and others added 29 commits March 8, 2026 23:33
…nDS-emu#2612)

* CI : update actions/checkout to latest version

* CI: update actions/upload-artifact from v4 to v7

---------

Co-authored-by: Rayyan Ansari <rayyan@ansari.sh>
Although it did work at some point, I think that FreeBSD's locking
over NFS is a bit unreliable, so we end up with Qt's automoc/autorcc
just hanging indefinitely. (some sort of deadlock?)

Fix this by building in /tmp inside the VM, and then copying it back
to the NFS-synced workspace when we are done.
pretty sure a better fix for this is needed, the old code was broken, but atleast now it's broken the same way
also allow to change date/time while game is running
Also, explicitly set the resource compiler as CMake seems to not find it
in some cases, and use the regular Clang/Clang++ for simplicity.
This is directly based on the code for this from NanoBoyAdvance.
this seems to reduce the amount of clicking/popping in the audio
somewhat
…onDS-emu#2646)

* Use Qt's QFile abstraction for the Platform.h file I/O functions

* forgot to reimplement FileWriteFormatted
actions/upload-artifact@v7 now supports disabling zipping the uploaded
artifact, so let's use that to avoid double-zipping the macOS app
bundle, as well as the AppImage as those should already be compressed.
GitHub will be doing this automatically starting June 8, 2026, so just
get it over with now to ensure everything builds fine.
using latest commit from master as build fix for Qt 6 on macOS 26.4 was
not included in the latest tagged release
…bled (melonDS-emu#2681)

sleep mode 2 ("power saving disabled", used by dswifi in infrastructure
mode) was treated like automatic mode: when the one-shot W_BeaconCount2
countdown armed at wifi init (0xFFFF TUs = ~67s) reached zero, IRQ13
powered the transceiver off. stations running with power saving disabled
never service IRQ13/IRQ15, so nothing ever turned it back on, silently
killing all wifi traffic ~67 seconds after init. real hardware does not
power down in this mode.
Backflips are almost impossible to pull off in SM64DS if you don't do this
@nadiaholmquist
nadiaholmquist force-pushed the feature/slot2-analog branch from ebaa2ac to 3cfea24 Compare July 4, 2026 02:23
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.