diff options
author | Chloe Marcec <dmarcecguzman@gmail.com> | 2021-09-08 16:10:52 +0200 |
---|---|---|
committer | Chloe Marcec <dmarcecguzman@gmail.com> | 2021-09-08 16:10:52 +0200 |
commit | 543081e4a198386a7208d0fe63411c149c4e36f5 (patch) | |
tree | 6a03624e29061184fe7bc2b59127354e5a855d5d /src/core/hle/service/acc/async_context.cpp | |
parent | Addressed issues (diff) | |
download | yuzu-543081e4a198386a7208d0fe63411c149c4e36f5.tar yuzu-543081e4a198386a7208d0fe63411c149c4e36f5.tar.gz yuzu-543081e4a198386a7208d0fe63411c149c4e36f5.tar.bz2 yuzu-543081e4a198386a7208d0fe63411c149c4e36f5.tar.lz yuzu-543081e4a198386a7208d0fe63411c149c4e36f5.tar.xz yuzu-543081e4a198386a7208d0fe63411c149c4e36f5.tar.zst yuzu-543081e4a198386a7208d0fe63411c149c4e36f5.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/acc/async_context.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/service/acc/async_context.cpp b/src/core/hle/service/acc/async_context.cpp index f7a7e34ea..459323132 100644 --- a/src/core/hle/service/acc/async_context.cpp +++ b/src/core/hle/service/acc/async_context.cpp @@ -46,11 +46,11 @@ void IAsyncContext::Cancel(Kernel::HLERequestContext& ctx) { void IAsyncContext::HasDone(Kernel::HLERequestContext& ctx) { LOG_DEBUG(Service_ACC, "called"); - is_complete = IsComplete(); + is_complete.store(IsComplete()); IPC::ResponseBuilder rb{ctx, 3}; rb.Push(ResultSuccess); - rb.Push(is_complete); + rb.Push(is_complete.load()); } void IAsyncContext::GetResult(Kernel::HLERequestContext& ctx) { @@ -61,7 +61,7 @@ void IAsyncContext::GetResult(Kernel::HLERequestContext& ctx) { } void IAsyncContext::MarkComplete() { - is_complete = true; + is_complete.store(true); compeletion_event.GetWritableEvent().Signal(); } |