Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup the Windows thread stuff to work like the other platforms. No…
…t quite perfect yet.
- Loading branch information
Showing
8 changed files
with
125 additions
and
118 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -532,7 +532,7 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin | |
// Emu thread (and render thread, if any) is always running! | ||
// Only OpenGL uses an externally managed render thread (due to GL's single-threaded context design). Vulkan | ||
// manages its own render thread. | ||
EmuThread_Start(g_Config.iGPUBackend == (int)GPUBackend::OPENGL); | ||
MainThread_Start(g_Config.iGPUBackend == (int)GPUBackend::OPENGL); | ||
InputDevice::BeginPolling(); | ||
|
||
HACCEL hAccelTable = LoadAccelerators(_hInstance, (LPCTSTR)IDR_ACCELS); | ||
|
@@ -586,9 +586,6 @@ int WINAPI WinMain(HINSTANCE _hInstance, HINSTANCE hPrevInstance, LPSTR szCmdLin | |
|
||
InputDevice::StopPolling(); | ||
|
||
// The emuthread calls NativeShutdown when shutting down. | ||
EmuThread_Stop(); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
hrydgard
Author
Owner
|
||
|
||
MainWindow::DestroyDebugWindows(); | ||
DialogManager::DestroyAll(); | ||
timeEndPeriod(1); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Why don't we want to stop the thread when we get a WM_QUIT?
-[Unknown]