summaryrefslogtreecommitdiff
path: root/Source/Core/Common
diff options
context:
space:
mode:
authorChris Burgener <christhecoolist@gmail.com>2016-02-28 19:42:15 -0500
committerChris Burgener <christhecoolist@gmail.com>2016-02-28 19:42:15 -0500
commitb1c8198cecbd3aeeccdd5096049f3a453ba411dd (patch)
tree89dde2ffe99d91e9edaec4bf72e681ed1d4c451d /Source/Core/Common
parent4aa6f6c81239c45ce302a10e12ea3574c9b39d01 (diff)
Move SetData logic to within SysConf.cpp
Diffstat (limited to 'Source/Core/Common')
-rw-r--r--Source/Core/Common/SysConf.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/Source/Core/Common/SysConf.cpp b/Source/Core/Common/SysConf.cpp
index 23a49412c8..a50efeb71b 100644
--- a/Source/Core/Common/SysConf.cpp
+++ b/Source/Core/Common/SysConf.cpp
@@ -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;
}
}