Remove cemuhook and fix exports

This commit is contained in:
Crementif 2022-08-26 17:52:38 +02:00
parent fb76d714f2
commit 51795d6c04
No known key found for this signature in database
GPG key ID: 43903308F77B6C3B
35 changed files with 38 additions and 792 deletions

View file

@ -510,7 +510,6 @@ void CemuUpdateWindow::WorkerThread()
}
}
bool IsCemuhookLoaded();
void CemuUpdateWindow::OnClose(wxCloseEvent& event)
{
event.Skip();
@ -529,11 +528,8 @@ void CemuUpdateWindow::OnClose(wxCloseEvent& event)
HANDLE lock = CreateMutex(nullptr, TRUE, L"Global\\cemu_update_lock");
CreateProcess(nullptr, (wchar_t*)cmdline.c_str(), nullptr, nullptr, FALSE, 0, nullptr, nullptr, &si, &pi);
if (IsCemuhookLoaded())
TerminateProcess(GetCurrentProcess(), 0);
else
exit(0);
exit(0);
}
#else
cemuLog_log(LogType::Force, "unimplemented - restart on update");