mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #13835 from hrydgard/report-small-memstick-fix
If we are reporting a small memstick size, but data is bigger, lie.
This commit is contained in:
commit
3c59e2351c
1 changed files with 4 additions and 0 deletions
|
@ -88,6 +88,10 @@ u64 MemoryStick_FreeSpace() {
|
|||
u64 simulatedFreeSpace = 0;
|
||||
if (usedSpace < memStickSize) {
|
||||
simulatedFreeSpace = memStickSize - usedSpace;
|
||||
} else if (flags.ReportSmallMemstick) {
|
||||
// There's more stuff in the memstick than the size we report.
|
||||
// This doesn't work, so we'll just have to lie. Not sure what the best way is.
|
||||
simulatedFreeSpace = smallMemstickSize / 2; // just pick a value.
|
||||
}
|
||||
if (flags.MemstickFixedFree) {
|
||||
// Assassin's Creed: Bloodlines fails to save if free space changes incorrectly during game.
|
||||
|
|
Loading…
Add table
Reference in a new issue