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
|
@ -68,14 +68,6 @@ void unused_translation_dummy()
|
|||
void(_("PrincipalId missing"));
|
||||
}
|
||||
|
||||
|
||||
#pragma optimize( "", off )
|
||||
DLLEXPORT _declspec(noinline) wxTopLevelWindow* wxMainWindowCreated(wxTopLevelWindow* wndPtr, uint32 magicConstant, CemuApp* appPointer)
|
||||
{
|
||||
return wndPtr;
|
||||
}
|
||||
#pragma optimize( "", on )
|
||||
|
||||
bool CemuApp::OnInit()
|
||||
{
|
||||
wxInitAllImageHandlers();
|
||||
|
@ -140,9 +132,6 @@ bool CemuApp::OnInit()
|
|||
g_window_info.app_active = true;
|
||||
|
||||
SetTopWindow(m_mainFrame);
|
||||
|
||||
// Cemuhook callback
|
||||
wxMainWindowCreated(m_mainFrame, 0xDABABE, this);
|
||||
m_mainFrame->Show();
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue