mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 11:39:09 +00:00
Last commit: Forgot _WIN32 ifdef
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2193 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3d70ea1bcb
commit
2162e3ce80
1 changed files with 4 additions and 2 deletions
|
@ -453,9 +453,11 @@ THREAD_RETURN EmuThread(void *pArg)
|
||||||
the wxDialog class. The solution was to wait for the thread to stop with a timer from the wxDialog, and the proceed to shutdown.
|
the wxDialog class. The solution was to wait for the thread to stop with a timer from the wxDialog, and the proceed to shutdown.
|
||||||
Perhaps something like that can be done here to? I just don't exactly how since in single core mode there should only be one
|
Perhaps something like that can be done here to? I just don't exactly how since in single core mode there should only be one
|
||||||
thread right? So how can WaitForSingleObject() hang in it? */
|
thread right? So how can WaitForSingleObject() hang in it? */
|
||||||
bool bRenderToMainSingleCore = false;
|
|
||||||
if (GetParent((HWND)g_pWindowHandle) == NULL || _CoreParameter.bUseDualCore) bRenderToMainSingleCore = true;
|
|
||||||
|
|
||||||
|
bool bRenderToMainSingleCore = false;
|
||||||
|
#ifdef _WIN32
|
||||||
|
if (GetParent((HWND)g_pWindowHandle) == NULL || _CoreParameter.bUseDualCore) bRenderToMainSingleCore = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Wait for CPU thread to exit - it should have been signaled to do so by now. On the other hand this will be called by
|
/* Wait for CPU thread to exit - it should have been signaled to do so by now. On the other hand this will be called by
|
||||||
delete cpuThread to. So now we call it twice right? */
|
delete cpuThread to. So now we call it twice right? */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue