Allow for self shutdown from video plugins.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2611 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
XTra.KrazzY
2009-03-07 23:34:16 +00:00
parent 044637218e
commit c674e6330f
3 changed files with 9 additions and 0 deletions

View File

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