stratosphere: Fix fs.mitm bis_protect race condition.
This commit is contained in:
1 parent
bcdfc53d7d
commit
49ad66e478
9 files changed
+41
-10
No files matched your search
@@ -88,7 +88,7 @@ Result Boot0Storage::Write(void *_buffer, size_t size, u64 offset) {
|
||||
if (R_FAILED((rc = ProxyStorage::Write(buffer + diff, size - diff, BctEndOffset)))) {
|
||||
return rc;
|
||||
}
|
||||
size -= diff;
|
||||
size = diff;
|
||||
}
|
||||
|
||||
/* Read in the current BCT region. */
|
||||
|
||||
Reference in new issue
Block a user