mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +00:00
Move SetData logic to within SysConf.cpp
This commit is contained in:
parent
4aa6f6c812
commit
b1c8198cec
2 changed files with 9 additions and 7 deletions
|
@ -15,6 +15,8 @@
|
|||
#include "Common/SysConf.h"
|
||||
#include "Common/Logging/Log.h"
|
||||
|
||||
#include "Core/Movie.h"
|
||||
|
||||
SysConf::SysConf()
|
||||
: m_IsValid(false)
|
||||
{
|
||||
|
@ -74,6 +76,13 @@ bool SysConf::LoadFromFile(const std::string& filename)
|
|||
{
|
||||
m_Filename = filename;
|
||||
m_IsValid = true;
|
||||
// Apply Wii settings from normal SYSCONF on Movie recording/playback
|
||||
if (Movie::IsRecordingInput() || Movie::IsPlayingInput())
|
||||
{
|
||||
SetData("IPL.LNG", Movie::GetLanguage());
|
||||
SetData("IPL.E60", Movie::IsPAL60());
|
||||
SetData("IPL.PGS", Movie::IsProgressive());
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue