summaryrefslogtreecommitdiff
path: root/Source/UnitTests
diff options
context:
space:
mode:
authorJules Blok <jules.blok@gmail.com>2016-11-11 20:30:31 +0100
committerGitHub <noreply@github.com>2016-11-11 20:30:31 +0100
commitf0ce3275afacbb8b61656f6d64216efee1dc2958 (patch)
tree2b22d1c4ac8caefafea4abb4abc1d8c2ef96d41b /Source/UnitTests
parentfbfce2a043394ecbd6da7affd6184a640e858d29 (diff)
parent20d49ba97f14649c459f5311bf6325daebfa382a (diff)
Merge pull request #4439 from Armada651/yield-ui
CPU: Fix deadlocks by periodically yielding to the UI message pump.
Diffstat (limited to 'Source/UnitTests')
-rw-r--r--Source/UnitTests/TestUtils/StubHost.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/UnitTests/TestUtils/StubHost.cpp b/Source/UnitTests/TestUtils/StubHost.cpp
index c6d1cbb12e..e32561da90 100644
--- a/Source/UnitTests/TestUtils/StubHost.cpp
+++ b/Source/UnitTests/TestUtils/StubHost.cpp
@@ -63,6 +63,9 @@ void Host_SetWiiMoteConnectionState(int)
void Host_ShowVideoConfig(void*, const std::string&)
{
}
+void Host_YieldToUI()
+{
+}
std::unique_ptr<cInterfaceBase> HostGL_CreateGLInterface()
{
return nullptr;