summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar LFsWang2016-03-31 20:29:39 +0800
committerGravatar LFsWang2016-03-31 20:29:39 +0800
commit87afef73b1825426ec43f36e2da4915dea632489 (patch)
tree62046128f861788b1847b4e6684121f5a7d5fc88 /src
parentfix unicode url problem on windows (diff)
downloadyuzu-87afef73b1825426ec43f36e2da4915dea632489.tar.gz
yuzu-87afef73b1825426ec43f36e2da4915dea632489.tar.xz
yuzu-87afef73b1825426ec43f36e2da4915dea632489.zip
remove debug code
Diffstat (limited to 'src')
-rw-r--r--src/citra_qt/config.cpp2
-rw-r--r--src/common/file_util.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/config.cpp b/src/citra_qt/config.cpp
index d1a19ade9..8e247ff5c 100644
--- a/src/citra_qt/config.cpp
+++ b/src/citra_qt/config.cpp
@@ -16,7 +16,7 @@ Config::Config() {
16 // TODO: Don't hardcode the path; let the frontend decide where to put the config files. 16 // TODO: Don't hardcode the path; let the frontend decide where to put the config files.
17 qt_config_loc = FileUtil::GetUserPath(D_CONFIG_IDX) + "qt-config.ini"; 17 qt_config_loc = FileUtil::GetUserPath(D_CONFIG_IDX) + "qt-config.ini";
18 FileUtil::CreateFullPath(qt_config_loc); 18 FileUtil::CreateFullPath(qt_config_loc);
19 qt_config = new QSettings(QString::fromLocal8Bit(qt_config_loc.c_str()), QSettings::IniFormat); 19 qt_config = new QSettings(QString::fromStdString(qt_config_loc), QSettings::IniFormat);
20 20
21 Reload(); 21 Reload();
22} 22}
diff --git a/src/common/file_util.cpp b/src/common/file_util.cpp
index 89eac1380..9ada09f8a 100644
--- a/src/common/file_util.cpp
+++ b/src/common/file_util.cpp
@@ -192,7 +192,7 @@ bool CreateFullPath(const std::string &fullPath)
192{ 192{
193 int panicCounter = 100; 193 int panicCounter = 100;
194 LOG_TRACE(Common_Filesystem, "path %s", fullPath.c_str()); 194 LOG_TRACE(Common_Filesystem, "path %s", fullPath.c_str());
195 LOG_WARNING(Common_Filesystem, "path %s", fullPath.c_str()); 195
196 if (FileUtil::Exists(fullPath)) 196 if (FileUtil::Exists(fullPath))
197 { 197 {
198 LOG_WARNING(Common_Filesystem, "path exists %s", fullPath.c_str()); 198 LOG_WARNING(Common_Filesystem, "path exists %s", fullPath.c_str());