early-access version 3210
This commit is contained in:
parent
9a76446cba
commit
6950ccef16
2 changed files with 3 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 3207.
|
This is the source code for early-access 3210.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,8 @@ Common::UUID GetGUID(SDL_Joystick* joystick) {
|
||||||
const SDL_JoystickGUID guid = SDL_JoystickGetGUID(joystick);
|
const SDL_JoystickGUID guid = SDL_JoystickGetGUID(joystick);
|
||||||
std::array<u8, 16> data{};
|
std::array<u8, 16> data{};
|
||||||
std::memcpy(data.data(), guid.data, sizeof(data));
|
std::memcpy(data.data(), guid.data, sizeof(data));
|
||||||
|
// Clear controller name crc
|
||||||
|
std::memset(data.data() + 2, 0, sizeof(u16));
|
||||||
return Common::UUID{data};
|
return Common::UUID{data};
|
||||||
}
|
}
|
||||||
} // Anonymous namespace
|
} // Anonymous namespace
|
||||||
|
|
Loading…
Reference in a new issue