mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Run code through the advanced tool 'sed' to remove trailing whitespace.
This commit is contained in:
@ -38,11 +38,11 @@ bool SysConf::LoadFromFile(const char *filename)
|
||||
GenerateSysConf();
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
u64 size = File::GetSize(filename);
|
||||
if (size != SYSCONF_SIZE)
|
||||
{
|
||||
if (AskYesNoT("Your SYSCONF file is the wrong size.\nIt should be 0x%04x (but is 0x%04llx)\nDo you want to generate a new one?",
|
||||
if (AskYesNoT("Your SYSCONF file is the wrong size.\nIt should be 0x%04x (but is 0x%04llx)\nDo you want to generate a new one?",
|
||||
SYSCONF_SIZE, size))
|
||||
{
|
||||
GenerateSysConf();
|
||||
@ -314,7 +314,7 @@ void SysConf::GenerateSysConf()
|
||||
}
|
||||
const u16 end_data_offset = Common::swap16(current_offset);
|
||||
g.WriteBytes(&end_data_offset, 2);
|
||||
|
||||
|
||||
// Write the items
|
||||
const u8 null_byte = 0;
|
||||
for (int i = 0; i != 27; ++i)
|
||||
@ -398,7 +398,7 @@ void SysConf::UpdateLocation()
|
||||
if (m_IsValid)
|
||||
Save();
|
||||
|
||||
// Clear the old filename and set the default filename to the new user path
|
||||
// Clear the old filename and set the default filename to the new user path
|
||||
// So that it can be generated if the file does not exist in the new location
|
||||
m_Filename.clear();
|
||||
m_FilenameDefault = File::GetUserPath(F_WIISYSCONF_IDX);
|
||||
|
Reference in New Issue
Block a user