h1-mod/src/client/std_include.cpp

33 lines
455 B
C++
Raw Normal View History

2022-02-03 14:05:24 -05:00
#include <std_include.hpp>
#pragma comment(linker, "/base:0x160000000")
extern "C"
{
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
__declspec(dllexport) DWORD AmdPowerXpressRequestHighPerformance = 1;
};
extern "C"
{
int s_read_arc4random(void*, size_t)
{
return -1;
}
int s_read_getrandom(void*, size_t)
{
return -1;
}
int s_read_urandom(void*, size_t)
{
return -1;
}
int s_read_ltm_rng(void*, size_t)
{
return -1;
}
}