mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 13:14:04 +00:00
Fix C89_BUILD
This commit is contained in:
parent
12aa454d54
commit
b10616ffb7
@ -751,6 +751,7 @@ bool win32_window_create(void *data, unsigned style,
|
|||||||
RECT *mon_rect, unsigned width,
|
RECT *mon_rect, unsigned width,
|
||||||
unsigned height, bool fullscreen)
|
unsigned height, bool fullscreen)
|
||||||
{
|
{
|
||||||
|
DEV_BROADCAST_DEVICEINTERFACE notification_filter;
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
#ifndef _XBOX
|
#ifndef _XBOX
|
||||||
main_window.hwnd = CreateWindowEx(0,
|
main_window.hwnd = CreateWindowEx(0,
|
||||||
@ -763,7 +764,6 @@ bool win32_window_create(void *data, unsigned style,
|
|||||||
if (!main_window.hwnd)
|
if (!main_window.hwnd)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
DEV_BROADCAST_DEVICEINTERFACE notification_filter;
|
|
||||||
ZeroMemory( ¬ification_filter, sizeof(notification_filter) );
|
ZeroMemory( ¬ification_filter, sizeof(notification_filter) );
|
||||||
notification_filter.dbcc_size = sizeof(DEV_BROADCAST_DEVICEINTERFACE);
|
notification_filter.dbcc_size = sizeof(DEV_BROADCAST_DEVICEINTERFACE);
|
||||||
notification_filter.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
|
notification_filter.dbcc_devicetype = DBT_DEVTYP_DEVICEINTERFACE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user