mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-11-30 04:54:20 +01:00
bis_factory: Set User NAND free space to be 1 MiB less than total.
This commit is contained in:
parent
17242a8865
commit
b24b463c87
@ -126,7 +126,9 @@ u64 BISFactory::GetSystemNANDTotalSpace() const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
u64 BISFactory::GetUserNANDFreeSpace() const {
|
u64 BISFactory::GetUserNANDFreeSpace() const {
|
||||||
return GetUserNANDTotalSpace();
|
// For some reason games such as BioShock 1 checks whether this is exactly 0x680000000 bytes.
|
||||||
|
// Set the free space to be 1 MiB less than the total as a workaround to this issue.
|
||||||
|
return GetUserNANDTotalSpace() - 0x100000;
|
||||||
}
|
}
|
||||||
|
|
||||||
u64 BISFactory::GetUserNANDTotalSpace() const {
|
u64 BISFactory::GetUserNANDTotalSpace() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user