mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-09 09:39:13 +00:00
Core Stop and Start: Added alternative separate thread timer/loop based waiting, instead of same thread loop waiting. You can try it with the SETUP_TIMER_WAITING option in Setup.h.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2375 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
769160dfbd
commit
927815bc9b
16 changed files with 367 additions and 31 deletions
|
@ -299,7 +299,9 @@ void Video_Prepare(void)
|
|||
void Shutdown(void)
|
||||
{
|
||||
Fifo_Shutdown();
|
||||
TextureConverter::Shutdown();
|
||||
#ifndef SETUP_TIMER_WAITING // This is not compatible, it crashes after the second Stop
|
||||
TextureConverter::Shutdown();
|
||||
#endif
|
||||
VertexLoaderManager::Shutdown();
|
||||
VertexShaderCache::Shutdown();
|
||||
VertexShaderManager::Shutdown();
|
||||
|
@ -308,8 +310,14 @@ void Shutdown(void)
|
|||
VertexManager::Shutdown();
|
||||
TextureMngr::Shutdown();
|
||||
OpcodeDecoder_Shutdown();
|
||||
Renderer::Shutdown();
|
||||
#ifndef SETUP_TIMER_WAITING // This is not compatible, it may crashes after a Stop
|
||||
Renderer::Shutdown();
|
||||
#endif
|
||||
OpenGL_Shutdown();
|
||||
#ifdef SETUP_TIMER_WAITING
|
||||
// Do we ever destroy the window?
|
||||
EmuWindow::Close();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue