FailedShack / USBHelperLauncher

USBHelperLauncher restores and enhances Wii U USB Helper functionality by patching it at runtime and intercepting its network requests.
GNU General Public License v3.0
486 stars 48 forks source link

Fix unpack directory split patch #76

Closed arcticdiv closed 3 years ago

arcticdiv commented 3 years ago

The patch in commit 74aa959561588d8cb3c3fdca9edd9a03adabb645 split unpacked data into separate directories unconditionally. This would cause issues with builtin emulators, as the patch would also be applied to their extraction paths (i.e. for the Prepare for Emulation feature), messing up the expected directory hierarchy.
This fix ensures that the target directories are only patched if the extraction target is the configured ExtractFolder, and not an emulator path.

FailedShack commented 3 years ago

👍