Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the exefs filesystem parser such that it doesnt attempt to deco… #4

Merged
merged 1 commit into from
Jan 7, 2024

Conversation

tfinnegan937
Copy link
Contributor

@tfinnegan937 tfinnegan937 commented Jan 7, 2024

The codebase was attempting to lzss decompress the banner and icon elements of the exeFS when loading the Alpha Sapphire cxi, which according to the exeFS documentation here, do not get LZSS compressed: https://www.3dbrew.org/wiki/ExeFS

As such, it was reading junk data.

This PR adds a quick check to the CXIFileSystem methods to ensure that exeFS files that are not compressed do not have the lzss decompression algorithm run on them.

@tfinnegan937
Copy link
Contributor Author

Addresses #1

@Martmists-GH Martmists-GH merged commit 72dc758 into Martmists-GH:master Jan 7, 2024
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.

2 participants