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

Initial Support for KunaiGC as device #864

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

bbsan2k
Copy link

@bbsan2k bbsan2k commented Apr 13, 2024

This PR adds initial support to browse and use KunaiGC as a config device.
It makes use of the EXI API of libogc2.

Fixes on TIF image may be required.

return bytes_read;
}

// Assumes a single call to write a file.
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment isn't true because this device isn't considered for bulk file operations here:

u32 bulkWrite = isSrcCard || isDestCard || devices[DEVICE_DEST] == &__device_qoob;

@Extrems we should probably add a "Bulk read/write" attribute to the DEVICEHANDLER_INTERFACE?

Copy link
Author

@bbsan2k bbsan2k Apr 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops - this slipped. The comment is irrelevant, I probably need to remove it. I basically copied Qoob Device, so its probably a left over.
In fact every file can be written in chunks, as I'm first seeking to the proper position within the file and then writing it. This however may have some performance impacts...

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.

None yet

2 participants