| 36 | #endif |
| 37 | |
| 38 | void 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 | |
| 53 | WindowInfo& gui_getWindowInfo() |
| 54 | { |
no test coverage detected