VMManager: Fix disc path when specifying source type

This commit is contained in:
Connor McLaughlin 2022-04-18 23:33:19 +10:00 committed by refractionpcsx2
parent 8a6c896dde
commit 1e06b57f25
1 changed files with 1 additions and 0 deletions

View File

@ -530,6 +530,7 @@ bool VMManager::ApplyBootParameters(const VMBootParameters& params)
}
// Use specified source type.
s_disc_path = params.filename;
CDVDsys_SetFile(params.source_type.value(), params.filename);
CDVDsys_ChangeSource(params.source_type.value());
}