summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/PlatformWin32.cpp
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2025-04-20 18:13:14 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2025-06-04 21:49:15 +0200
commit2ae928ca79ed99ce18bcf87841dbf167e611f5e8 (patch)
tree6d24c4d1c9d32fb3b2f52662be3db02a0f195ceb /Source/Core/DolphinNoGUI/PlatformWin32.cpp
parentf04f659710bf50cd71e0516d67601d9019ed6400 (diff)
DolphinNoGUI: Make parameters constant
Diffstat (limited to 'Source/Core/DolphinNoGUI/PlatformWin32.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/PlatformWin32.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/PlatformWin32.cpp b/Source/Core/DolphinNoGUI/PlatformWin32.cpp
index 28244829cc..39daae400a 100644
--- a/Source/Core/DolphinNoGUI/PlatformWin32.cpp
+++ b/Source/Core/DolphinNoGUI/PlatformWin32.cpp
@@ -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)