mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-17 12:00:39 +02:00
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.
9 lines
168 B
C++
9 lines
168 B
C++
// SPDX-License-Identifier: MIT
|
|
#pragma once
|
|
|
|
namespace FEX::Windows {
|
|
void InitCRTProcess();
|
|
void InitCRTThread();
|
|
void DeinitCRTThread();
|
|
} // namespace FEX::Windows
|