Compare commits
3 Commits
4e83a7bb91
...
07dde01537
Author | SHA1 | Date | |
---|---|---|---|
07dde01537 | |||
01515e375e | |||
bdde69bf7c |
BIN
SKSE/Plugins/versionlib-1-6-1179-0.bin
(Stored with Git LFS)
Normal file
BIN
SKSE/Plugins/versionlib-1-6-1179-0.bin
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
enderal.ico
(Stored with Git LFS)
Normal file
BIN
enderal.ico
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -12,7 +12,7 @@ namespace ForceBorderless
|
|||||||
std::uint8_t code[] = { 0xB8, 0x01, 0x00, 0x00, 0x00, REL::NOP, REL::NOP }; // mov eax,0x1
|
std::uint8_t code[] = { 0xB8, 0x01, 0x00, 0x00, 0x00, REL::NOP, REL::NOP }; // mov eax,0x1
|
||||||
auto version = REL::Module::get().version();
|
auto version = REL::Module::get().version();
|
||||||
|
|
||||||
if (version >= REL::Version(1, 6, 1130, 0) && version <= REL::Version(1, 6, 1170, 0)) {
|
if (version >= REL::Version(1, 6, 1130, 0) && version <= REL::Version(1, 6, 1179, 0)) {
|
||||||
logger::info("Initializing borderless mode...");
|
logger::info("Initializing borderless mode...");
|
||||||
REL::Relocation<std::uintptr_t> target{ REL::ID(36547), 0xBEA };
|
REL::Relocation<std::uintptr_t> target{ REL::ID(36547), 0xBEA };
|
||||||
REL::safe_write(target.address(), code, sizeof(code));
|
REL::safe_write(target.address(), code, sizeof(code));
|
||||||
|
Loading…
Reference in New Issue
Block a user