From c674e6330fb780df8e4e4d795085eff346ebe5f2 Mon Sep 17 00:00:00 2001 From: "XTra.KrazzY" Date: Sat, 7 Mar 2009 23:34:16 +0000 Subject: Allow for self shutdown from video plugins. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2611 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/VideoCommon/Src/Fifo.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/Core/VideoCommon/Src/Fifo.cpp') 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) { -- cgit v1.2.3