emulator: Use correct game folder mount when opening update eboot directly. #2244
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.
Got a game that has an elf file separate from the default
eboot.bin
, and have been loading it by using the Boot Game option to pick the right file. I noticed that when this is done for an elf file in a separate update directory, it mounts the update directory to/app0/
and fails to get any files it needs to from the base game. This fixes the issue by checking if the launched executable is in an update directory and finding the base game directory to use as the/app0/
mount.