Qt: Pause VM for disc change popup

This commit is contained in:
Stenzek 2023-09-09 19:46:37 +10:00 committed by Connor McLaughlin
parent 3e79a86008
commit 3f9e4731b8
1 changed files with 2 additions and 0 deletions

View File

@ -2661,6 +2661,8 @@ void MainWindow::doStartFile(std::optional<CDVD_SourceType> source, const QStrin
void MainWindow::doDiscChange(CDVD_SourceType source, const QString& path)
{
const auto lock = pauseAndLockVM();
bool reset_system = false;
if (!m_was_disc_change_request)
{