mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-13 17:00:45 +02:00
28 lines
773 B
C++
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
|