Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

Commit

Permalink
fix 11.2 crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Beakers committed Jan 28, 2021
1 parent d31ad35 commit 8a989df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion league_skin_changer/autoupdater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ std::vector<offset_signature> sigs = {
},
{
{
"83 EC 4C 53 57",
"83 EC 4C 53 55 57 8B F9 8B 47 04",
"E8 ? ? ? ? 8B 74 24 14 85 F6 74 1E 8B C7 F0 0F C1 46 ? 75 15 8B 06 8B CE FF 10 F0 0F C1 7E ? 4F 75 07 8B 06 8B CE FF 50 04 5F 5E 5B 83 C4 14 C2 40 00"
},
true,
Expand Down
2 changes: 1 addition & 1 deletion league_skin_changer/d3d_hook.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ LRESULT __stdcall wnd_proc( HWND hwnd, UINT msg, WPARAM w_param, LPARAM l_param
config::save( );
}

return reinterpret_cast<WNDPROC>(original_wndproc)(hwnd, msg, w_param, l_param);
return CallWindowProcW( ( WNDPROC ) original_wndproc, hwnd, msg, w_param, l_param );
}

std::once_flag init_device;
Expand Down

0 comments on commit 8a989df

Please # to comment.