mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-30 19:24:23 +01:00
KeyMap: Add NotifyPadDisconnected, minor cleanup
This commit is contained in:
1 parent
756d161070
commit
7d4cfdaf91
5 files changed
+41
-29
No files matched your search
@@ -173,6 +173,8 @@ DinputDevice::DinputDevice(int devnum) {
|
||||
}
|
||||
|
||||
DinputDevice::~DinputDevice() {
|
||||
KeyMap::NotifyPadDisconnected(DEVICE_ID_PAD_0 + pDevNum);
|
||||
|
||||
if (pJoystick) {
|
||||
pJoystick = nullptr;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user