mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-23 04:41:54 -05:00
VideoCommon: Fix crash that occurs on loading a fifo log due to uninitialized Free Look control type
This commit is contained in:
@@ -175,6 +175,11 @@ private:
|
||||
};
|
||||
} // namespace
|
||||
|
||||
FreeLookCamera::FreeLookCamera()
|
||||
{
|
||||
SetControlType(FreeLook::ControlType::SixAxis);
|
||||
}
|
||||
|
||||
void FreeLookCamera::SetControlType(FreeLook::ControlType type)
|
||||
{
|
||||
if (m_current_type && *m_current_type == type)
|
||||
|
||||
Reference in New Issue
Block a user