mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-25 15:27:02 +02:00
[test] Force Synchronization of buffers
This commit is contained in:
parent
c07dfa6fb4
commit
7a294902d4
1 changed files with 1 additions and 2 deletions
|
|
@ -1442,8 +1442,7 @@ void QueryCacheRuntime::HostConditionalRenderingCompareBCImpl(DAddr address, boo
|
||||||
const u32 resolve_size = compare_to_zero ? 8 : 24;
|
const u32 resolve_size = compare_to_zero ? 8 : 24;
|
||||||
{
|
{
|
||||||
std::scoped_lock lk(impl->buffer_cache.mutex);
|
std::scoped_lock lk(impl->buffer_cache.mutex);
|
||||||
const auto sync_info = compare_to_zero ? VideoCommon::ObtainBufferSynchronize::FullSynchronize
|
const auto sync_info = VideoCommon::ObtainBufferSynchronize::FullSynchronize;
|
||||||
: VideoCommon::ObtainBufferSynchronize::NoSynchronize;
|
|
||||||
const auto post_op = VideoCommon::ObtainBufferOperation::DoNothing;
|
const auto post_op = VideoCommon::ObtainBufferOperation::DoNothing;
|
||||||
const auto [buffer, offset] =
|
const auto [buffer, offset] =
|
||||||
impl->buffer_cache.ObtainCPUBuffer(address, resolve_size, sync_info, post_op);
|
impl->buffer_cache.ObtainCPUBuffer(address, resolve_size, sync_info, post_op);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue