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

physfs_platform_ogc.c: new backend for Wii and GameCube #74

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

mardy
Copy link
Contributor

@mardy mardy commented Jan 22, 2024

Add support for the Nintendo Wii and GameCube consoles. Most of the code has been copied from the POSIX backend, but libpthread has been replaced with libogc's functions.

The computation of directory paths is a bit peculiar, in that the Wii and GameCube don't have the concept of users.

The base directory is computed from the current working directory, which is set by the libfat library. Applications not using libfat have to take care of setting the current working directory themselves.

Add support for the Nintendo Wii and GameCube consoles. Most of the code
has been copied from the POSIX backend, but libpthread has been replaced
with libogc's functions.

The computation of directory paths is a bit peculiar, in that the Wii
and GameCube don't have the concept of users.

The base directory is computed from the current working directory, which
is set by the libfat library. Applications not using libfat have to take
care of setting the current working directory themselves.
@mardy mardy force-pushed the wii-port-upstream branch from 85ceb4c to bd87d9d Compare January 22, 2024 18:49
@mardy mardy marked this pull request as draft January 22, 2024 19:16
@mardy mardy marked this pull request as ready for review January 23, 2024 16:05
@mardy
Copy link
Contributor Author

mardy commented Jan 23, 2024

I tested this with the VVVVVV game, and it seems to be working fine. :-)

@icculus icculus merged commit 741c4be into icculus:main Feb 6, 2024
5 checks passed
@icculus
Copy link
Owner

icculus commented Feb 6, 2024

I wonder how hard it would be to get this building on GitHub Actions...

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