Skip to content

Commit

Permalink
Fix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jun 15, 2023
1 parent 78254af commit d9c34b8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/mods/vr/games/RE8VR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1378,7 +1378,7 @@ void RE8VR::update_block_gesture() {
m_wants_block = left_hand_up && right_hand_up;
}

HookManager::PreHookResult RE8VR::pre_shadow_late_update(std::vector<uintptr_t>& args, std::vector<sdk::RETypeDefinition*>& arg_tys) {
HookManager::PreHookResult RE8VR::pre_shadow_late_update(std::vector<uintptr_t>& args, std::vector<sdk::RETypeDefinition*>& arg_tys, uintptr_t ret_addr) {
auto& vr = VR::get();
auto& re8vr = RE8VR::get();

Expand All @@ -1397,7 +1397,7 @@ HookManager::PreHookResult RE8VR::pre_shadow_late_update(std::vector<uintptr_t>&
return HookManager::PreHookResult::CALL_ORIGINAL;
}

void RE8VR::post_shadow_late_update(uintptr_t& ret_val, sdk::RETypeDefinition* ret_ty) {
void RE8VR::post_shadow_late_update(uintptr_t& ret_val, sdk::RETypeDefinition* ret_ty, uintptr_t ret_addr) {
}

void RE8VR::update_heal_gesture() {
Expand Down
4 changes: 2 additions & 2 deletions src/mods/vr/games/RE8VR.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ class RE8VR : public Mod {
void update_block_gesture();
void update_heal_gesture();

static HookManager::PreHookResult pre_shadow_late_update(std::vector<uintptr_t>& args, std::vector<sdk::RETypeDefinition*>& arg_tys);
static void post_shadow_late_update(uintptr_t& ret_val, sdk::RETypeDefinition* ret_ty);
static HookManager::PreHookResult pre_shadow_late_update(std::vector<uintptr_t>& args, std::vector<sdk::RETypeDefinition*>& arg_tys, uintptr_t ret_addr);
static void post_shadow_late_update(uintptr_t& ret_val, sdk::RETypeDefinition* ret_ty, uintptr_t ret_addr);

private:
const ModToggle::Ptr m_hide_upper_body{ ModToggle::create(generate_name("HideUpperBody"), false) };
Expand Down

0 comments on commit d9c34b8

Please sign in to comment.