mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 21:56:42 +00:00
Buffer_Cache: Implement barriers.
This commit is contained in:
parent
286f4c446a
commit
de8ff8a1c6
|
@ -60,6 +60,10 @@ public:
|
||||||
map->MarkAsWritten(true);
|
map->MarkAsWritten(true);
|
||||||
MarkRegionAsWritten(map->GetStart(), map->GetEnd() - 1);
|
MarkRegionAsWritten(map->GetStart(), map->GetEnd() - 1);
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
if (map->IsWritten()) {
|
||||||
|
WriteBarrier();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const u64 offset = static_cast<u64>(block->GetOffset(cache_addr));
|
const u64 offset = static_cast<u64>(block->GetOffset(cache_addr));
|
||||||
|
|
Loading…
Reference in a new issue