Skip to content

Commit f22e79a

Browse files
committed
Update wine_patches
1 parent c43e0ca commit f22e79a

File tree

3 files changed

+585
-585
lines changed

3 files changed

+585
-585
lines changed

wine_patches/dlls/dinput/dinput_main.c

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* DirectInput
1+
/* DirectInput
22
*
33
* Copyright 1998 Marcus Meissner
44
* Copyright 1998,1999 Lionel Ulmer
@@ -158,7 +158,7 @@ static HRESULT dinput_create( IUnknown **out )
158158
}
159159

160160
/******************************************************************************
161-
* DirectInputCreateEx (DINPUT.@)
161+
* DirectInputCreateEx (DINPUT.@)
162162
*/
163163
HRESULT WINAPI DirectInputCreateEx( HINSTANCE hinst, DWORD version, REFIID iid, void **out, IUnknown *outer )
164164
{
@@ -191,7 +191,7 @@ HRESULT WINAPI DirectInputCreateEx( HINSTANCE hinst, DWORD version, REFIID iid,
191191
}
192192

193193
/******************************************************************************
194-
* DirectInput8Create (DINPUT8.@)
194+
* DirectInput8Create (DINPUT8.@)
195195
*/
196196
HRESULT WINAPI DECLSPEC_HOTPATCH DirectInput8Create( HINSTANCE hinst, DWORD version, REFIID iid, void **out, IUnknown *outer )
197197
{
@@ -226,15 +226,15 @@ HRESULT WINAPI DECLSPEC_HOTPATCH DirectInput8Create( HINSTANCE hinst, DWORD vers
226226
}
227227

228228
/******************************************************************************
229-
* DirectInputCreateA (DINPUT.@)
229+
* DirectInputCreateA (DINPUT.@)
230230
*/
231231
HRESULT WINAPI DECLSPEC_HOTPATCH DirectInputCreateA( HINSTANCE hinst, DWORD version, IDirectInputA **out, IUnknown *outer )
232232
{
233233
return DirectInputCreateEx( hinst, version, &IID_IDirectInput7A, (void **)out, outer );
234234
}
235235

236236
/******************************************************************************
237-
* DirectInputCreateW (DINPUT.@)
237+
* DirectInputCreateW (DINPUT.@)
238238
*/
239239
HRESULT WINAPI DECLSPEC_HOTPATCH DirectInputCreateW( HINSTANCE hinst, DWORD version, IDirectInputW **out, IUnknown *outer )
240240
{
@@ -288,7 +288,7 @@ __ASM_GLOBAL_FUNC( enum_callback_wrapper,
288288
#endif
289289

290290
/******************************************************************************
291-
* IDirectInputW_EnumDevices
291+
* IDirectInputW_EnumDevices
292292
*/
293293
static HRESULT WINAPI dinput7_EnumDevices( IDirectInput7W *iface, DWORD type, LPDIENUMDEVICESCALLBACKW callback,
294294
void *context, DWORD flags )
@@ -542,7 +542,7 @@ static HRESULT WINAPI dinput7_CreateDeviceEx( IDirectInput7W *iface, const GUID
542542

543543
if (IsEqualGUID( &GUID_SysKeyboard, guid )) hr = keyboard_create_device( impl, guid, &device );
544544
else if (IsEqualGUID( &GUID_SysMouse, guid )) hr = mouse_create_device( impl, guid, &device );
545-
else if (IsEqualGUID( &GUID_Joystick, guid )) hr = gamepad_create_device( impl, guid, &device );
545+
else if (IsEqualGUID( &GUID_Joystick, guid )) hr = gamepad_create_device( impl, guid, &device );
546546
else hr = hid_joystick_create_device( impl, guid, &device );
547547

548548
if (FAILED(hr)) return hr;
@@ -649,10 +649,10 @@ static HRESULT WINAPI dinput8_EnumDevices( IDirectInput8W *iface, DWORD type, LP
649649
if (hr == DI_OK && try_enum_device( device_type, callback, &instance, context, flags ) == DIENUM_STOP)
650650
return DI_OK;
651651
} while (SUCCEEDED(hr));
652-
653-
hr = gamepad_enum_device( type, flags, &instance, impl->dwVersion );
652+
653+
hr = gamepad_enum_device( type, flags, &instance, impl->dwVersion );
654654
if (hr == DI_OK && try_enum_device( device_type, callback, &instance, context, flags ) == DIENUM_STOP)
655-
return DI_OK;
655+
return DI_OK;
656656
}
657657

658658
return DI_OK;
@@ -1130,7 +1130,7 @@ static const IClassFactoryVtbl class_factory_vtbl =
11301130
static struct class_factory class_factory = {{&class_factory_vtbl}};
11311131

11321132
/***********************************************************************
1133-
* DllGetClassObject (DINPUT.@)
1133+
* DllGetClassObject (DINPUT.@)
11341134
*/
11351135
HRESULT WINAPI DllGetClassObject( REFCLSID clsid, REFIID iid, void **out )
11361136
{
@@ -1149,7 +1149,7 @@ HRESULT WINAPI DllGetClassObject( REFCLSID clsid, REFIID iid, void **out )
11491149
}
11501150

11511151
/******************************************************************************
1152-
* DInput hook thread
1152+
* DInput hook thread
11531153
*/
11541154

11551155
static LRESULT CALLBACK LL_hook_proc( int code, WPARAM wparam, LPARAM lparam )

0 commit comments

Comments
 (0)