mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-28 16:11:38 +00:00
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…
x
Reference in New Issue
Block a user