summaryrefslogtreecommitdiff
path: root/Source/Core/Common/SysConf.cpp
diff options
context:
space:
mode:
authorLeo Lam <leolino.lam@gmail.com>2017-08-11 15:48:27 +0800
committerGitHub <noreply@github.com>2017-08-11 15:48:27 +0800
commitd89698898abeda018dc2b8896f00bc46f036f36b (patch)
treecaa950a3158c587786f271bb5202a84170658a28 /Source/Core/Common/SysConf.cpp
parente86f5ac04b156aabf3555b453f4fabc1909f8281 (diff)
parent940cc843ed99cacf58472566e7ef766432550d4f (diff)
Merge pull request #5876 from leoetlino/sysconf-onion
Config: Port SYSCONF and parts of Movie to new config system
Diffstat (limited to 'Source/Core/Common/SysConf.cpp')
-rw-r--r--Source/Core/Common/SysConf.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/Source/Core/Common/SysConf.cpp b/Source/Core/Common/SysConf.cpp
index 2f86379462..34f406bc6b 100644
--- a/Source/Core/Common/SysConf.cpp
+++ b/Source/Core/Common/SysConf.cpp
@@ -14,7 +14,6 @@
#include "Common/FileUtil.h"
#include "Common/Logging/Log.h"
#include "Common/Swap.h"
-#include "Core/Movie.h"
constexpr size_t SYSCONF_SIZE = 0x4000;
@@ -61,8 +60,6 @@ void SysConf::Load()
WARN_LOG(CORE, "No valid SYSCONF detected. Creating a new one.");
InsertDefaultEntries();
}
-
- ApplySettingsFromMovie();
}
bool SysConf::LoadFromFile(const std::string& file_name)
@@ -257,17 +254,6 @@ void SysConf::RemoveEntry(const std::string& key)
m_entries.end());
}
-// Apply Wii settings from normal SYSCONF on Movie recording/playback
-void SysConf::ApplySettingsFromMovie()
-{
- if (!Movie::IsMovieActive())
- return;
-
- SetData<u8>("IPL.LNG", Entry::Type::Byte, Movie::GetLanguage());
- SetData<u8>("IPL.E60", Entry::Type::Byte, Movie::IsPAL60());
- SetData<u8>("IPL.PGS", Entry::Type::Byte, Movie::IsProgressive());
-}
-
void SysConf::InsertDefaultEntries()
{
AddEntry({Entry::Type::BigArray, "BT.DINF", std::vector<u8>(0x460 + 1)});