DolphinNoGUI: Make parameters constant

This commit is contained in:
Dr. Dystopia
2025-04-20 18:13:14 +02:00
parent f04f659710
commit 2ae928ca79
2 changed files with 5 additions and 4 deletions

View File

@ -165,7 +165,8 @@ void PlatformWin32::ProcessEvents()
}
}
LRESULT PlatformWin32::WndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
LRESULT PlatformWin32::WndProc(const HWND hwnd, const UINT msg, const WPARAM wParam,
const LPARAM lParam)
{
PlatformWin32* platform = reinterpret_cast<PlatformWin32*>(GetWindowLongPtr(hwnd, GWLP_USERDATA));
switch (msg)