mirror of
https://github.com/dolphin-emu/dolphin
synced 2025-10-05 16:03:02 +02:00
Compare commits
7 Commits
a570b24c96
...
cd84d58a1a
Author | SHA1 | Date | |
---|---|---|---|
|
cd84d58a1a | ||
|
3dc078c7e2 | ||
|
4a677445cc | ||
|
ce860ab43d | ||
|
c11132d2a6 | ||
|
956f6cfbd2 | ||
|
f3529971ee |
2
Externals/discord-rpc/CMakeLists.txt
vendored
2
Externals/discord-rpc/CMakeLists.txt
vendored
@@ -1,4 +1,4 @@
|
||||
cmake_minimum_required (VERSION 3.2.0)
|
||||
cmake_minimum_required (VERSION 3.2.0...4.1.1)
|
||||
project (DiscordRPC)
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
2
Externals/libusb/libusb
vendored
2
Externals/libusb/libusb
vendored
Submodule Externals/libusb/libusb updated: ba698478af...15a7ebb4d4
@@ -16,6 +16,7 @@
|
||||
#include "Common/Event.h"
|
||||
#include "Common/Logging/Log.h"
|
||||
#include "Common/ScopeGuard.h"
|
||||
#include "Common/Thread.h"
|
||||
|
||||
#include "InputCommon/ControllerInterface/ControllerInterface.h"
|
||||
#include "InputCommon/ControllerInterface/SDL/SDLGamepad.h"
|
||||
@@ -138,7 +139,15 @@ InputBackend::InputBackend(ControllerInterface* controller_interface)
|
||||
// Disable DualSense Player LEDs; We already colorize the Primary LED
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_HIDAPI_PS5_PLAYER_LED, "0");
|
||||
|
||||
// Disabling DirectInput support apparently solves hangs on shutdown for users with
|
||||
// "8BitDo Ultimate 2" controllers.
|
||||
// It also works around a possibly related random hang on a IDirectInputDevice8_Acquire
|
||||
// call within SDL.
|
||||
SDL_SetHint(SDL_HINT_JOYSTICK_DIRECTINPUT, "0");
|
||||
|
||||
m_hotplug_thread = std::thread([this] {
|
||||
Common::SetCurrentThreadName("SDL Hotplug Thread");
|
||||
|
||||
Common::ScopeGuard quit_guard([] {
|
||||
// TODO: there seems to be some sort of memory leak with SDL, quit isn't freeing everything up
|
||||
SDL_Quit();
|
||||
|
Reference in New Issue
Block a user