From 44693ae176a9468880d10575a1f6797bd48bda94 Mon Sep 17 00:00:00 2001 From: praydog Date: Tue, 12 Mar 2024 13:40:36 -0700 Subject: [PATCH] Dragon's Dogma 2: Fix VR crashing --- src/mods/VR.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mods/VR.cpp b/src/mods/VR.cpp index fad2befb2..4ed793189 100644 --- a/src/mods/VR.cpp +++ b/src/mods/VR.cpp @@ -1172,6 +1172,7 @@ std::optional VR::hijack_camera() { std::optional VR::hijack_wwise_listeners() { #ifndef RE4 #ifndef SF6 +#if TDB_VER < 73 spdlog::info("[VR] Hijacking WwiseListener"); const auto t = sdk::find_type_definition("via.wwise.WwiseListener"); @@ -1235,6 +1236,7 @@ std::optional VR::hijack_wwise_listeners() { return "VR init failed: via.wwise.WwiseListener update native function hook failed."; } #endif +#endif #endif return std::nullopt;