yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Merge pull request #2347 from lioncash/trunc

video_core/gpu_thread: Silence truncation warning in ThreadManager's constructor
This commit is contained in:
bunnei 2019-04-05 23:39:31 -04:00 committed by GitHub
commit 41890a84be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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() {