Etaash Mathamsetty (@etaash.mathamsetty) commented about dlls/winebus.sys/bus_sdl.c:
desc.version = 0; }
- guid = pSDL_JoystickGetGUID(joystick);
- pSDL_JoystickGetGUIDString(guid, guid_str, sizeof(guid_str));
- ntdll_umbstowcs(guid_str, strlen(guid_str) + 1, desc.serialnumber, ARRAY_SIZE(desc.serialnumber));
- if (pSDL_JoystickGetSerial && (sdl_serial = pSDL_JoystickGetSerial(joystick)))
- {
ntdll_umbstowcs(sdl_serial, strlen(sdl_serial) + 1, desc.serialnumber, ARRAY_SIZE(desc.serialnumber));
- }
- else
- {
// Overcooked! All You Can Eat only adds controllers with unique serial numbers
these should be replaced with C style comments (i.e /* comment here */)