diff options
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index e2b9e15791..6899508c17 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -744,6 +744,10 @@ bool MainWindow::RequestStop() if (Core::GetState() == Core::State::Paused) Core::SetState(Core::State::Running); + // Tell NetPlay about the power event + if (NetPlay::IsNetPlayRunning()) + NetPlay::SendPowerButtonEvent(); + return true; } |
