mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
FreeLookCamera: Fix savestate branch inconsistency.
Fixes https://bugs.dolphin-emu.org/issues/12168
This commit is contained in:
@ -274,6 +274,8 @@ void FreeLookCamera::DoState(PointerWrap& p)
|
||||
{
|
||||
const auto old_type = m_current_type;
|
||||
p.Do(m_current_type);
|
||||
p.Do(m_fov_x);
|
||||
p.Do(m_fov_y);
|
||||
if (old_type == m_current_type)
|
||||
{
|
||||
m_camera_controller->DoState(p);
|
||||
|
Reference in New Issue
Block a user