mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2024-11-25 14:52:30 +01:00
Extra constness where applicable
This commit is contained in:
parent
51fa496658
commit
e3fe830843
@ -117,7 +117,7 @@ LRESULT CALLBACK CustomWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPara
|
||||
|
||||
return (*OldWndProc)(hwnd, uMsg, wParam, lParam);
|
||||
}
|
||||
static auto* pCustomWndProc = CustomWndProc;
|
||||
static auto* const pCustomWndProc = CustomWndProc;
|
||||
|
||||
static void (* const ConstructRenderList)() = AddressByVersion<void(*)()>(0x4A76B0, 0x4A77A0, 0x4A7730);
|
||||
static void (* const RsMouseSetPos)(RwV2d*) = AddressByVersion<void(*)(RwV2d*)>(0x580D20, 0x581070, 0x580F70);
|
||||
|
@ -70,7 +70,7 @@ LRESULT CALLBACK CustomWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lPara
|
||||
|
||||
return (*OldWndProc)(hwnd, uMsg, wParam, lParam);
|
||||
}
|
||||
static auto* pCustomWndProc = CustomWndProc;
|
||||
static auto* const pCustomWndProc = CustomWndProc;
|
||||
|
||||
static void (* const ConstructRenderList)() = AddressByVersion<void(*)()>(0x4CA260, 0x4CA280, 0x4CA120);
|
||||
static void (* const RsMouseSetPos)(RwV2d*) = AddressByVersion<void(*)(RwV2d*)>(0x6030C0, 0x6030A0, 0x602CE0);
|
||||
|
Loading…
Reference in New Issue
Block a user