From 6b7550f53dd24b63a961a6c3ea5b085c186d2a51 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Wed, 14 Apr 2021 03:41:25 +0200 Subject: [PATCH] early-access version 1596 --- README.md | 2 +- src/video_core/renderer_vulkan/vk_master_semaphore.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index df465cff4..dd854183b 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 1595. +This is the source code for early-access 1596. ## Legal Notice diff --git a/src/video_core/renderer_vulkan/vk_master_semaphore.h b/src/video_core/renderer_vulkan/vk_master_semaphore.h index 2c7ed654d..4b6d64daa 100755 --- a/src/video_core/renderer_vulkan/vk_master_semaphore.h +++ b/src/video_core/renderer_vulkan/vk_master_semaphore.h @@ -35,8 +35,8 @@ public: } /// Returns true when a tick has been hit by the GPU. - [[nodiscard]] bool IsFree(u64 tick) { - return gpu_tick.load(std::memory_order_relaxed) >= tick; + [[nodiscard]] bool IsFree(u64 tick) const noexcept { + return KnownGpuTick() >= tick; } /// Advance to the logical tick.