MCPcopy Create free account
hub / github.com/cemu-project/Cemu / gui_create

Function gui_create

src/gui/guiWrapper.cpp:38–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36#endif
37
38void gui_create()
39{
40 SetThreadName("cemu");
41#if BOOST_OS_WINDOWS
42 // on Windows wxWidgets there is a bug where wxDirDialog->ShowModal will deadlock in Windows internals somehow
43 // moving the UI thread off the main thread fixes this
44 std::thread t = std::thread(_wxLaunch);
45 t.join();
46#else
47 int argc = 0;
48 char* argv[1]{};
49 wxEntry(argc, argv);
50#endif
51}
52
53WindowInfo& gui_getWindowInfo()
54{

Callers 3

mainEmulatorLLEFunction · 0.85
wWinMainFunction · 0.85
mainFunction · 0.85

Calls 1

SetThreadNameFunction · 0.85

Tested by

no test coverage detected