Skip to content

Commit

Permalink
fix: fix VR hook for shadowmask (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse authored Mar 24, 2024
1 parent ae5beff commit e6b647e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,6 @@ namespace Hooks
stl::write_thunk_call<CreateRenderTarget_Main>(REL::RelocationID(100458, 107175).address() + REL::Relocate(0x3F0, 0x3F3, 0x548));
stl::write_thunk_call<CreateRenderTarget_Normals>(REL::RelocationID(100458, 107175).address() + REL::Relocate(0x458, 0x45B, 0x5B0));
stl::write_thunk_call<CreateRenderTarget_NormalsSwap>(REL::RelocationID(100458, 107175).address() + REL::Relocate(0x46B, 0x46E, 0x5C3));
stl::write_thunk_call<CreateRenderTarget_ShadowMask>(REL::RelocationID(100458, 107175).address() + REL::Relocate(0x555, 0x46E, 0x5C3));

stl::write_thunk_call<CreateRenderTarget_ShadowMask>(REL::RelocationID(100458, 107175).address() + REL::Relocate(0x555, 0x46E, 0x6b9));
}
}

0 comments on commit e6b647e

Please sign in to comment.