diff --git a/src/xenia/app/main_resources.rc b/src/xenia/app/main_resources.rc index c60d50b55..bcc22d20f 100644 --- a/src/xenia/app/main_resources.rc +++ b/src/xenia/app/main_resources.rc @@ -1 +1,3 @@ //{{NO_DEPENDENCIES}} + +MAINICON ICON "..\\..\\..\\assets\\icon\\icon.ico" diff --git a/src/xenia/ui/window_win.cc b/src/xenia/ui/window_win.cc index 7ef3f1259..cefaf908d 100644 --- a/src/xenia/ui/window_win.cc +++ b/src/xenia/ui/window_win.cc @@ -51,8 +51,8 @@ bool Win32Window::OnCreate() { wcex.cbClsExtra = 0; wcex.cbWndExtra = 0; wcex.hInstance = hInstance; - wcex.hIcon = nullptr; // LoadIcon(hInstance, (LPCTSTR)IDI_TUTORIAL1); - wcex.hIconSm = nullptr; // LoadIcon(hInstance, (LPCTSTR)IDI_TUTORIAL1); + wcex.hIcon = LoadIcon(hInstance, L"MAINICON"); + wcex.hIconSm = LoadIcon(hInstance, L"MAINICON"); wcex.hCursor = LoadCursor(nullptr, IDC_ARROW); wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); wcex.lpszMenuName = nullptr;