Inital attempt at WiFi support #143
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
First pass. Linking against a system install of slirp brings in a dependency on glib-2.0. A local build of this will fail to load against the redist packaged libglib-2.0-0.dll in the release config of Retroach due to version mismatches. The redist version is at least a minor revision back.
However, if the build linked libslirp-0.dll and libglib-2.0-0.dll are copied to the retroarch dir it loads correctly and my testing with a nossl patched mario kart ds connects succefully to Wiimmfi and it can be played online without issues.
Getting a correctly linked libslirp is key this working. I see two options for this.
I've attempted an integrated build but I've not been able to make the required changes that the meson build tool does or get the existing makefile setup find the system glib2.0 without hardcoding paths. To avoid any system linking building glib2.0 as a further core bundled dependency would be required bringing in a whole other layer complexity.
Option 1 would be my prefered choice but any input would be appreciated.