summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorTilka <tilkax@gmail.com>2017-05-13 15:59:15 +0100
committerGitHub <noreply@github.com>2017-05-13 15:59:15 +0100
commitd95b82abc37503dbc11069fe19dae6ea15727a19 (patch)
tree78d5941d7feccca616c818b87b76000d190fed81 /Source
parent9944712f6e653a39f9cefc37b31ee9e8e7089b48 (diff)
parentdf63638b4ac0fe28567f1353f02aab84b9ba9b26 (diff)
Merge pull request #5413 from leoetlino/dsphle-fixes
DSPHLE: Typo fix
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/Core/HW/DSPHLE/DSPHLE.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/HW/DSPHLE/DSPHLE.cpp b/Source/Core/Core/HW/DSPHLE/DSPHLE.cpp
index da457b6eef..8cd2fd1836 100644
--- a/Source/Core/Core/HW/DSPHLE/DSPHLE.cpp
+++ b/Source/Core/Core/HW/DSPHLE/DSPHLE.cpp
@@ -120,7 +120,7 @@ void DSPHLE::DoState(PointerWrap& p)
// if a different type of ucode was being used when the savestate was created,
// we have to reconstruct the old type of ucode so that we have a valid thing to call DoState on.
const bool same_ucode = ucode_crc == ucode_crc_before_load;
- const bool same_last_ucode = last_ucode_crc != last_ucode_crc_before_load;
+ const bool same_last_ucode = last_ucode_crc == last_ucode_crc_before_load;
auto ucode = same_ucode ? std::move(m_ucode) : UCodeFactory(ucode_crc, this, m_wii);
auto last_ucode =
same_last_ucode ? std::move(m_last_ucode) : UCodeFactory(last_ucode_crc, this, m_wii);