summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-06 00:37:34 +0200
committerLioncash <mathew1800@gmail.com>2019-04-06 00:37:37 +0200
commit30ce9b2b5cd08753c66f4b3cf30476e86c37b953 (patch)
treef9a40b43b467fb89170a22878148cf2c8752f5e2
parentMerge pull request #2282 from bunnei/gpu-asynch-v2 (diff)
downloadyuzu-30ce9b2b5cd08753c66f4b3cf30476e86c37b953.tar
yuzu-30ce9b2b5cd08753c66f4b3cf30476e86c37b953.tar.gz
yuzu-30ce9b2b5cd08753c66f4b3cf30476e86c37b953.tar.bz2
yuzu-30ce9b2b5cd08753c66f4b3cf30476e86c37b953.tar.lz
yuzu-30ce9b2b5cd08753c66f4b3cf30476e86c37b953.tar.xz
yuzu-30ce9b2b5cd08753c66f4b3cf30476e86c37b953.tar.zst
yuzu-30ce9b2b5cd08753c66f4b3cf30476e86c37b953.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/gpu_thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cpp
index 23f9bd422..cc56cf467 100644
--- a/src/video_core/gpu_thread.cpp
+++ b/src/video_core/gpu_thread.cpp
@@ -59,7 +59,7 @@ ThreadManager::ThreadManager(Core::System& system, VideoCore::RendererBase& rend
Tegra::DmaPusher& dma_pusher)
: system{system}, thread{RunThread, std::ref(renderer), std::ref(dma_pusher), std::ref(state)} {
synchronization_event = system.CoreTiming().RegisterEvent(
- "GPUThreadSynch", [this](u64 fence, int) { state.WaitForSynchronization(fence); });
+ "GPUThreadSynch", [this](u64 fence, s64) { state.WaitForSynchronization(fence); });
}
ThreadManager::~ThreadManager() {