diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-26 15:13:45 +0100 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2021-09-26 15:13:45 +0100 |
commit | a4434a4db16c347d5453354c1a15555d168ec7b9 (patch) | |
tree | 976188f0fef133c1f8fc7ebf757296b0ea848a7e /NorthstarDedicatedTest/dedicatedmaterialsystem.cpp | |
parent | e98fc31a93dfc9a14db7bb5510d25df0226d6fd3 (diff) | |
download | NorthstarLauncher-a4434a4db16c347d5453354c1a15555d168ec7b9.tar.gz NorthstarLauncher-a4434a4db16c347d5453354c1a15555d168ec7b9.zip |
commandline struct change, dedicated refactor
Diffstat (limited to 'NorthstarDedicatedTest/dedicatedmaterialsystem.cpp')
-rw-r--r-- | NorthstarDedicatedTest/dedicatedmaterialsystem.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp index 48ade24d..e334e8fe 100644 --- a/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp +++ b/NorthstarDedicatedTest/dedicatedmaterialsystem.cpp @@ -8,6 +8,30 @@ void InitialiseDedicatedMaterialSystem(HMODULE baseAddress) { if (!IsDedicated()) return; + + // not using these for now since they're related to nopping renderthread/gamewindow i.e. very hard + //{ + // // function that launches renderthread + // char* ptr = (char*)baseAddress + 0x87047; + // TempReadWrite rw(ptr); + // + // // make it not launch renderthread + // *ptr = (char)0x90; + // *(ptr + 1) = (char)0x90; + // *(ptr + 2) = (char)0x90; + // *(ptr + 3) = (char)0x90; + // *(ptr + 4) = (char)0x90; + // *(ptr + 5) = (char)0x90; + //} + // + //{ + // // some function that waits on renderthread job + // char* ptr = (char*)baseAddress + 0x87d00; + // TempReadWrite rw(ptr); + // + // // return immediately + // *ptr = (char)0xC3; + //} { // CMaterialSystem::FindMaterial |