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

More filesystem functions #3

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

Conversation

koolkdev
Copy link

I added the functions: FSA_ChangeOwner, FSA_OpenFileEx, FSA_ReadFileWithPos, FSA_WriteFileWithPos, FSA_AppendFile, FSA_AppendFileEx, FSA_FlushFile, FSA_TruncateFile, FSA_GetPosFile, FSA_IsEof, FSA_RollbackVolume, FSA_GetCwd, FSA_MakeQuota, FSA_FlushQuota, FSA_RollbackQuota, FSA_RollbackQuotaForce, FSA_Rename, FSA_ChangeModeEx

The changes for wupserver are here: FIX94/haxchi#13

Added FSA_GetFreeSpaceSize, IOSUHAX_FSA_GetDirSize, IOSUHAX_FSA_GetEntryNum, IOSUHAX_FSA_GetFileSystemInfo, IOSUHAX_FSA_GetDeviceInfo, IOSUHAX_FSA_GetStat, IOSUHAX_FSA_GetBadBlockInfo, IOSUHAX_FSA_GetJournalFreeSpaceSize, IOSUHAX_FSA_GetFragmentBlockInfo
…leWithPos, FSA_AppendFile, FSA_AppendFileEx, FSA_FlushFile, FSA_TruncateFile, FSA_GetPosFile, FSA_IsEof
…ota, FSA_FlushQuota, FSA_RollbackQuota, FSA_RollbackQuotaForce
Crementif added a commit to Crementif/libiosuhax that referenced this pull request Apr 29, 2022
Some breaking/noteworthy changes for users that don't use the new functions:
 - IOSUHAX_FSA_SetFilePos is changed to IOSUHAX_FSA_SetPosFile to reflect the name of the Wii U's original function name.
 - IOSUHAX_FSA_GetDeviceInfo has been changed to IOSUHAX_FSA_GetInfo, but you can now also use various functions that'll get the various structs you would get previously. BUT, IOSUHAX_FSA_GetDeviceInfo is now the name of one of these functions since that's the DeviceInfo struct it'll get.

Based on original PR from dimok789#3.
Co-authored-by: koolkdev <[email protected]>
Crementif added a commit to Crementif/libiosuhax that referenced this pull request Apr 29, 2022
Some breaking/noteworthy changes for users that don't use the new functions:
 - IOSUHAX_FSA_SetFilePos is changed to IOSUHAX_FSA_SetPosFile to reflect the name of the Wii U's original function name.
 - IOSUHAX_FSA_GetDeviceInfo has been changed to IOSUHAX_FSA_GetInfo, but you can now also use various functions that'll get the various structs you would get previously. BUT, IOSUHAX_FSA_GetDeviceInfo is now the name of one of these functions since that's the DeviceInfo struct it'll get.

Based on original PR from dimok789#3.
Co-authored-by: koolkdev <[email protected]>
Crementif added a commit to Crementif/libiosuhax that referenced this pull request Apr 29, 2022
Some breaking/noteworthy changes for users that don't use the new functions:
 - IOSUHAX_FSA_SetFilePos is changed to IOSUHAX_FSA_SetPosFile to reflect the name of the Wii U's original function name.
 - IOSUHAX_FSA_GetDeviceInfo has been changed to IOSUHAX_FSA_GetInfo, but you can now also use various functions that'll get the various structs you would get previously. BUT, IOSUHAX_FSA_GetDeviceInfo is now the name of one of these functions since that's the DeviceInfo struct it'll get.

Based on original PR from dimok789#3.

Co-authored-by: koolkdev <[email protected]>
Maschell pushed a commit to Crementif/libiosuhax that referenced this pull request May 15, 2022
Some breaking/noteworthy changes for users that don't use the new functions:
 - IOSUHAX_FSA_SetFilePos is changed to IOSUHAX_FSA_SetPosFile to reflect the name of the Wii U's original function name.
 - IOSUHAX_FSA_GetDeviceInfo has been changed to IOSUHAX_FSA_GetInfo, but you can now also use various functions that'll get the various structs you would get previously. BUT, IOSUHAX_FSA_GetDeviceInfo is now the name of one of these functions since that's the DeviceInfo struct it'll get.

Based on original PR from dimok789#3.

Co-authored-by: koolkdev <[email protected]>
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.

1 participant