Driveby cleanup: Remove use of legacy <tchar.h>

This commit is contained in:
Henrik Rydgård committed 2026-02-01 14:43:40 +01:00
1 parent 0b529c2316
commit 4007e973f3
10 files changed
+14 -24

No files matched your search

+2 -2
View File
@@ -153,7 +153,7 @@ namespace MainWindow
bool noFocusPause = false; // TOGGLE_PAUSE state to override pause on lost focus
bool trapMouse = true; // Handles some special cases(alt+tab, win menu) when game is running and mouse is confined
static const TCHAR szWindowClass[] = L"PPSSPPWnd";
static constexpr wchar_t *szWindowClass = L"PPSSPPWnd";
static LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
@@ -174,7 +174,7 @@ namespace MainWindow
wcex.lpfnWndProc = (WNDPROC)WndProc;
wcex.hInstance = hInstance;
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
wcex.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH);
wcex.hbrBackground = (HBRUSH)GetStockObject(BLACK_BRUSH); // or NULL?
wcex.lpszMenuName = (LPCWSTR)IDR_MENU1;
wcex.lpszClassName = szWindowClass;
wcex.hIcon = LoadIcon(hInstance, (LPCTSTR)IDI_PPSSPP);