Files
FEX-Emu--FEX/Source/Windows/Common/CRT/CRT.h
T
Billy Laws 0e069f1e97 Windows: Introduce a minimal CRT replacement
It is dangerous for FEX to rely on the system CRT as calls can have side
effects that are also visible to the running application, and if patches
are applied to any CRT exports used during compilation the call checker
would trigger a reentry into the JIT to compile the patch and hence
deadlock. Only functions that FEX actively uses are implemented, with
the rest triggering an abort.
2024-08-07 15:49:41 +00:00

9 lines
168 B
C++

// SPDX-License-Identifier: MIT
#pragma once
namespace FEX::Windows {
void InitCRTProcess();
void InitCRTThread();
void DeinitCRTThread();
} // namespace FEX::Windows