mirror of https://github.com/PCSX2/pcsx2.git
Qt: Pause VM for disc change popup
This commit is contained in:
parent
3e79a86008
commit
3f9e4731b8
|
@ -2661,6 +2661,8 @@ void MainWindow::doStartFile(std::optional<CDVD_SourceType> source, const QStrin
|
||||||
|
|
||||||
void MainWindow::doDiscChange(CDVD_SourceType source, const QString& path)
|
void MainWindow::doDiscChange(CDVD_SourceType source, const QString& path)
|
||||||
{
|
{
|
||||||
|
const auto lock = pauseAndLockVM();
|
||||||
|
|
||||||
bool reset_system = false;
|
bool reset_system = false;
|
||||||
if (!m_was_disc_change_request)
|
if (!m_was_disc_change_request)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue