mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 05:51:19 +12:00
Remove cemuhook and fix exports (#73)
This commit is contained in:
parent
fb76d714f2
commit
ca78b92718
35 changed files with 38 additions and 792 deletions
|
@ -17,21 +17,17 @@ std::shared_mutex g_mutex;
|
|||
MainWindow* g_mainFrame = nullptr;
|
||||
|
||||
#if BOOST_OS_WINDOWS
|
||||
void wxMatchCemuhookEventIds();
|
||||
|
||||
void _wxLaunch()
|
||||
{
|
||||
SetThreadName("MainThread_UI");
|
||||
wxEntry();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void gui_create()
|
||||
{
|
||||
SetThreadName("MainThread");
|
||||
#if BOOST_OS_WINDOWS
|
||||
wxMatchCemuhookEventIds();
|
||||
// on Windows wxWidgets there is a bug where wxDirDialog->ShowModal will deadlock in Windows internals somehow
|
||||
// moving the UI thread off the main thread fixes this
|
||||
std::thread t = std::thread(_wxLaunch);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue