mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 22:11:18 +12:00
Remove cemuhook and fix exports
This commit is contained in:
parent
fb76d714f2
commit
51795d6c04
35 changed files with 38 additions and 792 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue