Skip to content

Commit

Permalink
Merge branch 'praydog:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyhodge authored Jun 28, 2024
2 parents 543ed2a + 83b3909 commit 8c21f0c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/mods/Graphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,11 @@ void Graphics::setup_path_trace_hook() {

const auto game = utility::get_executable();
const auto start1 = std::chrono::high_resolution_clock::now();
const auto ref = utility::find_function_from_string_ref(game, "RayTraceSettings", true);
auto ref = utility::find_function_from_string_ref(game, "RayTraceSettings", true);

if (!ref.has_value()) {
ref = utility::find_function_from_string_ref(game, "DXRDebug", true);
}

if (!ref.has_value()) {
spdlog::error("[Graphics] Failed to find function with RayTraceSettings string reference");
Expand Down

0 comments on commit 8c21f0c

Please sign in to comment.