summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/Fifo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/Src/Fifo.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/Fifo.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/Core/VideoCommon/Src/Fifo.cpp b/Source/Core/VideoCommon/Src/Fifo.cpp
index 8a502b5ef2..2dfd7ffa2e 100644
--- a/Source/Core/VideoCommon/Src/Fifo.cpp
+++ b/Source/Core/VideoCommon/Src/Fifo.cpp
@@ -119,6 +119,12 @@ void Fifo_ExitLoop()
#endif
}
+// May be executed from any thread, even the graphics thread.
+// Created to allow for self shutdown.
+void Fifo_ExitLoopNonBlocking() {
+ fifoStateRun = false;
+}
+
//
void Fifo_EnterLoop(const SVideoInitialize &video_initialize)
{