mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Update rpcs3/rpcs3qt/gui_application.cpp
Co-authored-by: Megamouse <studienricky89@googlemail.com>
This commit is contained in:
parent
7eda6515d0
commit
a1086fe8a9
1 changed files with 1 additions and 1 deletions
|
@ -1210,7 +1210,7 @@ bool gui_application::native_event_filter::nativeEventFilter([[maybe_unused]] co
|
|||
{
|
||||
if (MSG* msg = static_cast<MSG*>(message); msg && (msg->message == WM_INPUT || msg->message == WM_KEYDOWN || msg->message == WM_KEYUP || msg->message == WM_DEVICECHANGE))
|
||||
{
|
||||
if (msg->message == WM_DEVICECHANGE)
|
||||
if (msg->message == WM_DEVICECHANGE && (msg->wParam == DBT_DEVICEARRIVAL || msg->wParam == DBT_DEVICEREMOVECOMPLETE)
|
||||
{
|
||||
if (Emu.IsRunning() || Emu.IsStarting())
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue