Skip to content

Commit

Permalink
fix(VR): fix vr offset and bump address lib dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
FlayaN committed Dec 12, 2024
1 parent dd8e7e0 commit ee45e3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Upscaling.h
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class Upscaling : public RE::BSTEventSink<RE::MenuOpenCloseEvent>
stl::write_thunk_call<Main_UpdateJitter>(REL::RelocationID(75460, 77245).address() + REL::Relocate(0xE5, isGOG ? 0x133 : 0xE2, 0x104));
stl::write_thunk_call<TAA_BeginTechnique>(REL::RelocationID(100540, 107270).address() + REL::Relocate(0x3E9, 0x3EA, 0x448));
stl::write_thunk_call<TAA_EndTechnique>(REL::RelocationID(100540, 107270).address() + REL::Relocate(0x3F3, 0x3F4, 0x452));
stl::write_thunk_call<BSImageSpacerShader_RenderPassImmediately>(REL::RelocationID(100951, 107733).address() + REL::Relocate(0x82, 0x78));
stl::write_thunk_call<BSImageSpacerShader_RenderPassImmediately>(REL::RelocationID(100951, 107733).address() + REL::Relocate(0x82, 0x78, 0x7E));
stl::detour_thunk<BSImageSpacerShader_Render>(REL::RelocationID(99023, 105674));

logger::info("[Upscaling] Installed hooks");
Expand Down
2 changes: 1 addition & 1 deletion src/XSEPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ bool Load()
}

if (REL::Module::IsVR()) {
REL::IDDatabase::get().IsVRAddressLibraryAtLeastVersion("0.159.0", true);
REL::IDDatabase::get().IsVRAddressLibraryAtLeastVersion("0.160.0", true);
}

auto privateProfileRedirectorVersion = Util::GetDllVersion(L"Data/SKSE/Plugins/PrivateProfileRedirector.dll");
Expand Down

0 comments on commit ee45e3c

Please sign in to comment.