mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
VideoCommon: Fix crash that occurs on loading a fifo log due to uninitialized Free Look control type
This commit is contained in:
parent
6ddf69d094
commit
16dc2fa379
3 changed files with 7 additions and 0 deletions
|
@ -111,6 +111,7 @@ Renderer::Renderer(int backbuffer_width, int backbuffer_height, float backbuffer
|
|||
CalculateTargetSize();
|
||||
|
||||
m_is_game_widescreen = SConfig::GetInstance().bWii && Config::Get(Config::SYSCONF_WIDESCREEN);
|
||||
g_freelook_camera.SetControlType(FreeLook::GetActiveConfig().camera_config.control_type);
|
||||
}
|
||||
|
||||
Renderer::~Renderer() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue