FS: Fix FSGetMountSource and FSAppendFile implementation (Fixes SD access in SSBU) #863

Merged
Maschell merged 2 commits from fix_getmountsource into main 2023-06-17 07:51:55 -04:00
Maschell commented 2023-06-16 14:53:26 -04:00 (Migrated from github.com)

This PR fixes SD Access in Super Smash Bros. To fix this, two things need to be fixed:

  • The FSGetMountSource implementation was simplified to return more accurate values
  • Fix FSAppendFile parameters, return values and shim preparation (yes, this was totally broken before)

This PR still doesn't implement FSAppendFile properly, but afaik this only "reserves" space on the filesystem without actually affecting/touching the files.

This PR fixes SD Access in Super Smash Bros. To fix this, two things need to be fixed: - The FSGetMountSource implementation was simplified to return more accurate values - Fix FSAppendFile parameters, return values and shim preparation (yes, this was totally broken before) This PR still doesn't implement `FSAppendFile` properly, but afaik this only "reserves" space on the filesystem without actually affecting/touching the files.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cemu-project_Mirror/Cemu-2024-03-05#863
No description provided.