Files
FEX-Emu--FEX/Source/Tools/FEXLoader/WindowsDummyHandlers.cpp
T
Ryan Houdek 162bbf2937 Mingw: Fixes compiling again
Getting the CI machines setup to handle this so we can stop breaking it.
2023-07-26 16:52:19 -07:00

28 lines
773 B
C++

#ifdef _WIN32
#include "WindowsDummyHandlers.h"
namespace FEX::WindowsHandlers {
thread_local FEXCore::Core::InternalThreadState *TLSThread;
void DummySignalDelegator::RegisterTLSState(FEXCore::Core::InternalThreadState *Thread) {
TLSThread = Thread;
}
void DummySignalDelegator::UninstallTLSState(FEXCore::Core::InternalThreadState *Thread) {
TLSThread = nullptr;
}
FEXCore::Core::InternalThreadState *DummySignalDelegator::GetTLSThread() {
return TLSThread;
}
fextl::unique_ptr<FEXCore::HLE::SyscallHandler> CreateSyscallHandler() {
return fextl::make_unique<DummySyscallHandler>();
}
fextl::unique_ptr<FEX::WindowsHandlers::DummySignalDelegator> CreateSignalDelegator() {
return fextl::make_unique<DummySignalDelegator>();
}
}
#endif