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:
parent
ed5e98c3cc
commit
c660dfcbd9
|
@ -459,6 +459,8 @@ static void InsertDiscCallback(u64 userdata, s64 cyclesLate)
|
||||||
SetDisc(std::move(new_volume));
|
SetDisc(std::move(new_volume));
|
||||||
else
|
else
|
||||||
PanicAlertT("The disc that was about to be inserted couldn't be found.");
|
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
|
// Can only be called by the host thread
|
||||||
|
|
Loading…
Reference in New Issue