mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-15 18:37:49 +00:00
GPU: Refactor synchronization on Async GPU
This commit is contained in:
parent
0a62525e65
commit
c689dc6804
11 changed files with 56 additions and 7 deletions
|
@ -63,7 +63,7 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
void OnCPUWrite(CacheAddr addr, std::size_t size) {
|
||||
void OnCPUWrite(VAddr addr, std::size_t size) {
|
||||
std::lock_guard lock{mutex};
|
||||
|
||||
for (const auto& surface : GetSurfacesInRegion(addr, size)) {
|
||||
|
@ -549,7 +549,7 @@ private:
|
|||
}
|
||||
const auto& final_params = new_surface->GetSurfaceParams();
|
||||
if (cr_params.type != final_params.type) {
|
||||
if (Settings::values.use_accurate_gpu_emulation) {
|
||||
if (Settings::IsGPULevelExtreme()) {
|
||||
BufferCopy(current_surface, new_surface);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue