summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-01-30 20:21:18 -0500
committerLioncash <mathew1800@gmail.com>2014-01-30 20:21:18 -0500
commit825c5f689bd289a6659595f2bb0b810e12761f48 (patch)
treeee7a46db5942e3b63782359d7401fd3dcaf80ce5 /Source/Core/InputCommon/ControllerEmu.cpp
parentd91a5abba1d66948cc43cc7a6c80827ede061bc8 (diff)
Remove some unnecessary comments, as pointed out by Matt_P.
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu.cpp b/Source/Core/InputCommon/ControllerEmu.cpp
index 29b0e388d3..1cfa476736 100644
--- a/Source/Core/InputCommon/ControllerEmu.cpp
+++ b/Source/Core/InputCommon/ControllerEmu.cpp
@@ -10,7 +10,6 @@
ControllerEmu::~ControllerEmu()
{
- // control groups
for (ControlGroup* cg : groups)
delete cg;
}
@@ -77,7 +76,6 @@ void ControllerEmu::ControlGroup::LoadConfig(IniFile::Section *sec, const std::s
s->value /= 100;
}
- // controls
for (Control* c : controls)
{
// control expression
@@ -129,11 +127,9 @@ void ControllerEmu::ControlGroup::SaveConfig(IniFile::Section *sec, const std::s
{
std::string group(base + name); group += "/";
- // settings
for (Setting* s : settings)
sec->Set((group + s->name).c_str(), s->value*100.0f, s->default_value*100.0f);
- // controls
for (Control* c : controls)
{
// control expression