mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user