summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2024-07-22 09:44:07 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2024-08-10 14:18:44 +0200
commit89959758922a5e6115e2cc25a7494ca6558ade1d (patch)
tree96aaaa306354712777efe3f4b18a591789b15abc /Source/Core
parent5d5f1693b5be6965e2d2029b712af4bc6b506499 (diff)
Replace redundant dereferencing
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/Core/HW/DVD/DVDInterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/DVD/DVDInterface.cpp b/Source/Core/Core/HW/DVD/DVDInterface.cpp
index 79081bee47..babb500902 100644
--- a/Source/Core/Core/HW/DVD/DVDInterface.cpp
+++ b/Source/Core/Core/HW/DVD/DVDInterface.cpp
@@ -391,7 +391,7 @@ void DVDInterface::SetDisc(std::unique_ptr<DiscIO::VolumeDisc> disc,
if (auto_disc_change_paths)
{
- ASSERT_MSG(DISCIO, (*auto_disc_change_paths).size() != 1,
+ ASSERT_MSG(DISCIO, auto_disc_change_paths->size() != 1,
"Cannot automatically change between one disc");
m_auto_disc_change_paths = *auto_disc_change_paths;