summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-04-06 05:39:31 +0200
committerGitHub <noreply@github.com>2019-04-06 05:39:31 +0200
commit41890a84bed7c04c2746db5bf4d66ea07291ec5c (patch)
treee6781859052bec6054c5c07ed943d3afd503ac01 /src/video_core
parentMerge pull request #2341 from lioncash/compare (diff)
parentvideo_core/gpu_thread: Silence truncation warning in ThreadManager's constructor (diff)
downloadyuzu-41890a84bed7c04c2746db5bf4d66ea07291ec5c.tar
yuzu-41890a84bed7c04c2746db5bf4d66ea07291ec5c.tar.gz
yuzu-41890a84bed7c04c2746db5bf4d66ea07291ec5c.tar.bz2
yuzu-41890a84bed7c04c2746db5bf4d66ea07291ec5c.tar.lz
yuzu-41890a84bed7c04c2746db5bf4d66ea07291ec5c.tar.xz
yuzu-41890a84bed7c04c2746db5bf4d66ea07291ec5c.tar.zst
yuzu-41890a84bed7c04c2746db5bf4d66ea07291ec5c.zip
Diffstat (limited to 'src/video_core')
-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() {