summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2017-05-15 23:57:51 +0200
committerGitHub <noreply@github.com>2017-05-15 23:57:51 +0200
commitf4e8a01d166378bda874fdfd7063b2fcce1ac89e (patch)
tree02310e302836ff540165b19aefe7975e2a07d478 /Source
parent8e38eca1500ca1186ca9d45e252dbfa35781f73f (diff)
parentc660dfcbd9ff427381b4d0688c73f0d6dc21ee7a (diff)
Merge pull request #5431 from leoetlino/change-disc
DVDInterface: Fix a regression with changing discs
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/HW/DVD/DVDInterface.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/Core/HW/DVD/DVDInterface.cpp b/Source/Core/Core/HW/DVD/DVDInterface.cpp
index 11812f6f54..f8ce0e2afe 100644
--- a/Source/Core/Core/HW/DVD/DVDInterface.cpp
+++ b/Source/Core/Core/HW/DVD/DVDInterface.cpp
@@ -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