mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-12 12:00:44 +02:00
Windows: Load unixlib if possible
Currently does nothing other than load it (as the library also doesn't do anything yet). Ensured it was working by temporarily creating a test entrypoint and doing `Call` on to it. Next step after this is to reimplement some of the nasty hacks FEX is doing inside the unixlib code itself.
This commit is contained in:
6 files changed
+115
No files matched your search
@@ -29,6 +29,7 @@ $end_info$
|
||||
|
||||
#include "Windows/Common/Allocator.h"
|
||||
#include "Windows/Common/EnvironmentVariablesHandling.h"
|
||||
#include "Windows/Common/FEXUnixLib.h"
|
||||
#include "Common/CallRetStack.h"
|
||||
#include "Common/JITGuardPage.h"
|
||||
#include "Common/Config.h"
|
||||
@@ -599,6 +600,7 @@ NTSTATUS ProcessInit() {
|
||||
FEX::Windows::SetupEnvironmentVariableValues(NtDll);
|
||||
|
||||
FEX::Windows::Allocator::SetupHooks(NtDll);
|
||||
FEX::Windows::UnixLib::Init(NtDll);
|
||||
|
||||
{
|
||||
auto HostFeatures = FEX::Windows::CPUFeatures::FetchHostFeatures(IsWine);
|
||||
|
||||
Reference in new issue
Block a user