diff options
| author | JosJuice <josjuice@gmail.com> | 2020-01-13 17:17:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-01-13 17:17:24 +0100 |
| commit | 966e1b31ba42f836df2f2c8fff98687267912885 (patch) | |
| tree | 85e6b7431e1cea1214e86ec08bd62c99dced2c50 /Source/Core/DolphinQt/MainWindow.cpp | |
| parent | ae6d3be449eb7779a3af4fad251c8e0dc3e3df21 (diff) | |
| parent | 3b5d20e12c9d911e32ad269b37a984ee060357b9 (diff) | |
Merge pull request #8394 from Pokechu22/misc-di-gpio
Various DI improvements
Diffstat (limited to 'Source/Core/DolphinQt/MainWindow.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/MainWindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/MainWindow.cpp b/Source/Core/DolphinQt/MainWindow.cpp index 7216b00206..88e5aa3f9a 100644 --- a/Source/Core/DolphinQt/MainWindow.cpp +++ b/Source/Core/DolphinQt/MainWindow.cpp @@ -686,7 +686,7 @@ void MainWindow::ChangeDisc() void MainWindow::EjectDisc() { - Core::RunAsCPUThread(DVDInterface::EjectDisc); + Core::RunAsCPUThread([] { DVDInterface::EjectDisc(DVDInterface::EjectCause::User); }); } void MainWindow::Open() |
