mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 18:50:30 +00:00
Config: Port remaining Core settings to new config system (partial).
This commit is contained in:
parent
953eb49cd8
commit
e08171fa24
32 changed files with 131 additions and 197 deletions
|
@ -535,9 +535,9 @@ bool BeginRecordingInput(const ControllerTypeArray& controllers,
|
|||
s_bNetPlay = true;
|
||||
s_recordingStartTime = ExpansionInterface::CEXIIPL::NetPlay_GetEmulatedTime();
|
||||
}
|
||||
else if (SConfig::GetInstance().bEnableCustomRTC)
|
||||
else if (Config::Get(Config::MAIN_CUSTOM_RTC_ENABLE))
|
||||
{
|
||||
s_recordingStartTime = SConfig::GetInstance().m_customRTCValue;
|
||||
s_recordingStartTime = Config::Get(Config::MAIN_CUSTOM_RTC_VALUE);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -904,7 +904,6 @@ void ReadHeader()
|
|||
{
|
||||
s_bSaveConfig = true;
|
||||
Config::AddLayer(ConfigLoaders::GenerateMovieConfigLoader(&tmpHeader));
|
||||
SConfig::GetInstance().bJITFollowBranch = tmpHeader.bFollowBranch;
|
||||
s_bClearSave = tmpHeader.bClearSave;
|
||||
s_memcards = tmpHeader.memcards;
|
||||
s_bongos = tmpHeader.bongos;
|
||||
|
@ -1348,7 +1347,6 @@ void SaveRecording(const std::string& filename)
|
|||
header.filetype[3] = 0x1A;
|
||||
strncpy(header.gameID.data(), SConfig::GetInstance().GetGameID().c_str(), 6);
|
||||
header.bWii = SConfig::GetInstance().bWii;
|
||||
header.bFollowBranch = SConfig::GetInstance().bJITFollowBranch;
|
||||
header.controllers = 0;
|
||||
header.GBAControllers = 0;
|
||||
for (int i = 0; i < 4; ++i)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue