mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
commit
d95b82abc3
@ -120,7 +120,7 @@ void DSPHLE::DoState(PointerWrap& p)
|
|||||||
// if a different type of ucode was being used when the savestate was created,
|
// 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.
|
// 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_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 ucode = same_ucode ? std::move(m_ucode) : UCodeFactory(ucode_crc, this, m_wii);
|
||||||
auto last_ucode =
|
auto last_ucode =
|
||||||
same_last_ucode ? std::move(m_last_ucode) : UCodeFactory(last_ucode_crc, this, m_wii);
|
same_last_ucode ? std::move(m_last_ucode) : UCodeFactory(last_ucode_crc, this, m_wii);
|
||||||
|
Loading…
Reference in New Issue
Block a user