Skip to content

Commit

Permalink
Dragon's Dogma 2: Fix VR crashing
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Mar 12, 2024
1 parent 4bd6889 commit 44693ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mods/VR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1172,6 +1172,7 @@ std::optional<std::string> VR::hijack_camera() {
std::optional<std::string> 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");
Expand Down Expand Up @@ -1235,6 +1236,7 @@ std::optional<std::string> VR::hijack_wwise_listeners() {
return "VR init failed: via.wwise.WwiseListener update native function hook failed.";
}
#endif
#endif
#endif

return std::nullopt;
Expand Down

0 comments on commit 44693ae

Please sign in to comment.