mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Common: Refactor PointerWrap
This commit is contained in:
@ -42,11 +42,11 @@ void DSPLLE::DoState(PointerWrap& p)
|
||||
{
|
||||
bool is_hle = false;
|
||||
p.Do(is_hle);
|
||||
if (is_hle && p.GetMode() == PointerWrap::MODE_READ)
|
||||
if (is_hle && p.IsReadMode())
|
||||
{
|
||||
Core::DisplayMessage("State is incompatible with current DSP engine. Aborting load state.",
|
||||
3000);
|
||||
p.SetMode(PointerWrap::MODE_VERIFY);
|
||||
p.SetVerifyMode();
|
||||
return;
|
||||
}
|
||||
m_dsp_core.DoState(p);
|
||||
|
Reference in New Issue
Block a user