DVDInterface: Fix a regression with changing discs

We were not clearing s_disc_path_to_insert, which would cause disc
changes to be only possible once.
This commit is contained in:
Léo Lam 2017-05-15 19:20:29 +02:00
parent ed5e98c3cc
commit c660dfcbd9

View File

@ -459,6 +459,8 @@ static void InsertDiscCallback(u64 userdata, s64 cyclesLate)
SetDisc(std::move(new_volume));
else
PanicAlertT("The disc that was about to be inserted couldn't be found.");
s_disc_path_to_insert.clear();
}
// Can only be called by the host thread