mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
Allows WTF to work (mostly) with Wine by letting us VirtualName things, and also allows madvise control of THP, which significantly cuts back memory usage. This works around the problem of Wine not giving us control of this by using raw syscalls when wine is detected. Based on top of #5362 so the THP disable controls are in.
8 lines
138 B
C++
8 lines
138 B
C++
// SPDX-License-Identifier: MIT
|
|
#pragma once
|
|
#include <winternl.h>
|
|
|
|
namespace FEX::Windows::Allocator {
|
|
void SetupHooks(HMODULE ntdll);
|
|
}
|