Fix inversion of toggle for early fences
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
All checks were successful
eden-license / license-header (pull_request) Successful in 25s
This should fix performance regressions in games that didn't need this and fix it to work with the games it is intended to be used for. Signed-off-by: Shinmegumi <shinmegumi@eden-emu.dev>
This commit is contained in:
parent
623baac26b
commit
e24b83adb9
1 changed files with 2 additions and 2 deletions
|
@ -89,7 +89,7 @@ public:
|
||||||
CommitAsyncFlushes();
|
CommitAsyncFlushes();
|
||||||
TFence new_fence = CreateFence(!should_flush);
|
TFence new_fence = CreateFence(!should_flush);
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
if (delay_fence && Settings::values.early_release_fences.GetValue()) {
|
if (delay_fence && !Settings::values.early_release_fences.GetValue()) {
|
||||||
guard.lock();
|
guard.lock();
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
|
@ -110,7 +110,7 @@ public:
|
||||||
rasterizer.FlushCommands();
|
rasterizer.FlushCommands();
|
||||||
}
|
}
|
||||||
#ifdef __ANDROID__
|
#ifdef __ANDROID__
|
||||||
if (delay_fence && Settings::values.early_release_fences.GetValue()) {
|
if (delay_fence && !Settings::values.early_release_fences.GetValue()) {
|
||||||
guard.unlock();
|
guard.unlock();
|
||||||
cv.notify_all();
|
cv.notify_all();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue