From 6950ccef16ca07f28e153d4388c771bc357728de Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Tue, 13 Dec 2022 03:35:03 +0100 Subject: [PATCH] early-access version 3210 --- README.md | 2 +- src/input_common/drivers/sdl_driver.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 416c479dc..4c4e2d954 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 3207. +This is the source code for early-access 3210. ## Legal Notice diff --git a/src/input_common/drivers/sdl_driver.cpp b/src/input_common/drivers/sdl_driver.cpp index 439009b3d..785be799a 100755 --- a/src/input_common/drivers/sdl_driver.cpp +++ b/src/input_common/drivers/sdl_driver.cpp @@ -16,6 +16,8 @@ Common::UUID GetGUID(SDL_Joystick* joystick) { const SDL_JoystickGUID guid = SDL_JoystickGetGUID(joystick); std::array 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}; } } // Anonymous namespace