diff options
| -rw-r--r-- | src/core/file_sys/bis_factory.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/file_sys/bis_factory.cpp b/src/core/file_sys/bis_factory.cpp index a412dbd9c..285277ef8 100644 --- a/src/core/file_sys/bis_factory.cpp +++ b/src/core/file_sys/bis_factory.cpp | |||
| @@ -126,7 +126,9 @@ u64 BISFactory::GetSystemNANDTotalSpace() const { | |||
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | u64 BISFactory::GetUserNANDFreeSpace() const { | 128 | u64 BISFactory::GetUserNANDFreeSpace() const { |
| 129 | return GetUserNANDTotalSpace(); | 129 | // For some reason games such as BioShock 1 checks whether this is exactly 0x680000000 bytes. |
| 130 | // Set the free space to be 1 MiB less than the total as a workaround to this issue. | ||
| 131 | return GetUserNANDTotalSpace() - 0x100000; | ||
| 130 | } | 132 | } |
| 131 | 133 | ||
| 132 | u64 BISFactory::GetUserNANDTotalSpace() const { | 134 | u64 BISFactory::GetUserNANDTotalSpace() const { |