tweak(main): fix base
This commit is contained in:
parent
79ba8c6cf4
commit
a81fea3edf
@ -1,24 +1,8 @@
|
|||||||
#include <std_include.hpp>
|
#include <std_include.hpp>
|
||||||
|
|
||||||
#pragma comment(linker, "/stack:0x1000000")
|
#pragma comment(linker, "/base:0x170000000")
|
||||||
|
|
||||||
#ifdef INJECT_HOST_AS_LIB
|
|
||||||
#pragma comment(linker, "/base:0x160000000")
|
|
||||||
#else
|
|
||||||
#pragma comment(linker, "/base:0x140000000")
|
|
||||||
#pragma comment(linker, "/merge:.data=.cld")
|
|
||||||
#pragma comment(linker, "/merge:.rdata=.clr")
|
|
||||||
#pragma comment(linker, "/merge:.cl=.main")
|
|
||||||
#pragma comment(linker, "/merge:.text=.main")
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language=''\"")
|
#pragma comment(linker, "/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='amd64' publicKeyToken='6595b64144ccf1df' language=''\"")
|
||||||
|
|
||||||
#ifndef INJECT_HOST_AS_LIB
|
|
||||||
#pragma bss_seg(".payload")
|
|
||||||
char payload_data[BINARY_PAYLOAD_SIZE];
|
|
||||||
#endif
|
|
||||||
|
|
||||||
extern "C"
|
extern "C"
|
||||||
{
|
{
|
||||||
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user