ddraw: Fix inverted logic for enumerating secondary devices.

This commit is contained in:
Erich E. Hoover 2014-11-13 09:20:15 -07:00 committed by Alexandre Julliard
parent 69269a7f01
commit 3d5fe2074e
1 changed files with 1 additions and 1 deletions

View File

@ -430,7 +430,7 @@ HRESULT WINAPI DirectDrawEnumerateExA(LPDDENUMCALLBACKEXA callback, void *contex
cont_enum = callback(NULL, driver_desc, driver_name, context, 0); cont_enum = callback(NULL, driver_desc, driver_name, context, 0);
/* The Battle.net System Checker expects both a NULL device and a GUID-based device */ /* The Battle.net System Checker expects both a NULL device and a GUID-based device */
if (cont_enum && (flags & ~DDENUM_ATTACHEDSECONDARYDEVICES)) if (cont_enum && (flags & DDENUM_ATTACHEDSECONDARYDEVICES))
ddraw_enumerate_secondary_devices(wined3d, callback, context); ddraw_enumerate_secondary_devices(wined3d, callback, context);
} }
__EXCEPT_PAGE_FAULT __EXCEPT_PAGE_FAULT