mirror of
https://github.com/holub/mame
synced 2025-05-21 13:18:56 +03:00
Fixed display of icon in windows (no whatsnew)
This commit is contained in:
parent
2139f1b17d
commit
206d7d92c6
@ -407,7 +407,7 @@ void debugwin_init_windows(running_machine &machine)
|
||||
wc.hInstance = GetModuleHandle(NULL);
|
||||
wc.lpfnWndProc = debugwin_window_proc;
|
||||
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
wc.hIcon = LoadIcon(NULL, IDI_APPLICATION);
|
||||
wc.hIcon = LoadIcon(wc.hInstance, MAKEINTRESOURCE(2));
|
||||
wc.lpszMenuName = NULL;
|
||||
wc.hbrBackground = NULL;
|
||||
wc.style = 0;
|
||||
|
@ -44,4 +44,4 @@
|
||||
|
||||
1 24 MOVEABLE PURE "mame.man"
|
||||
|
||||
IDI_ICON_MAME ICON DISCARDABLE "mame.ico"
|
||||
2 ICON DISCARDABLE "mame.ico"
|
||||
|
@ -877,7 +877,7 @@ static void create_window_class(void)
|
||||
wc.hInstance = GetModuleHandle(NULL);
|
||||
wc.lpfnWndProc = winwindow_video_window_proc_ui;
|
||||
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
wc.hIcon = LoadIcon(NULL, IDI_APPLICATION);
|
||||
wc.hIcon = LoadIcon(wc.hInstance, MAKEINTRESOURCE(2));
|
||||
|
||||
// register the class; fail if we can't
|
||||
if (!RegisterClass(&wc))
|
||||
|
Loading…
Reference in New Issue
Block a user