mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-26 09:41:11 +00:00
Remove some unnecessary comments, as pointed out by Matt_P.
This commit is contained in:
parent
d91a5abba1
commit
825c5f689b
@ -10,7 +10,6 @@
|
|||||||
|
|
||||||
ControllerEmu::~ControllerEmu()
|
ControllerEmu::~ControllerEmu()
|
||||||
{
|
{
|
||||||
// control groups
|
|
||||||
for (ControlGroup* cg : groups)
|
for (ControlGroup* cg : groups)
|
||||||
delete cg;
|
delete cg;
|
||||||
}
|
}
|
||||||
@ -77,7 +76,6 @@ void ControllerEmu::ControlGroup::LoadConfig(IniFile::Section *sec, const std::s
|
|||||||
s->value /= 100;
|
s->value /= 100;
|
||||||
}
|
}
|
||||||
|
|
||||||
// controls
|
|
||||||
for (Control* c : controls)
|
for (Control* c : controls)
|
||||||
{
|
{
|
||||||
// control expression
|
// control expression
|
||||||
@ -129,11 +127,9 @@ void ControllerEmu::ControlGroup::SaveConfig(IniFile::Section *sec, const std::s
|
|||||||
{
|
{
|
||||||
std::string group(base + name); group += "/";
|
std::string group(base + name); group += "/";
|
||||||
|
|
||||||
// settings
|
|
||||||
for (Setting* s : settings)
|
for (Setting* s : settings)
|
||||||
sec->Set((group + s->name).c_str(), s->value*100.0f, s->default_value*100.0f);
|
sec->Set((group + s->name).c_str(), s->value*100.0f, s->default_value*100.0f);
|
||||||
|
|
||||||
// controls
|
|
||||||
for (Control* c : controls)
|
for (Control* c : controls)
|
||||||
{
|
{
|
||||||
// control expression
|
// control expression
|
||||||
|
Loading…
x
Reference in New Issue
Block a user