summaryrefslogtreecommitdiffstats
path: root/src/citra_qt
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2015-10-20 19:58:23 +0200
committerwwylele <wwylele@gmail.com>2015-10-20 19:58:23 +0200
commit6e5738917219fe619689d6bafca4a75b61dcd689 (patch)
treee3f8b61e6ae978318c4f449ce9c53a7882aa6e3d /src/citra_qt
parentMerge pull request #1207 from kemenaran/persist-citra-settings-in-qt (diff)
downloadyuzu-6e5738917219fe619689d6bafca4a75b61dcd689.tar
yuzu-6e5738917219fe619689d6bafca4a75b61dcd689.tar.gz
yuzu-6e5738917219fe619689d6bafca4a75b61dcd689.tar.bz2
yuzu-6e5738917219fe619689d6bafca4a75b61dcd689.tar.lz
yuzu-6e5738917219fe619689d6bafca4a75b61dcd689.tar.xz
yuzu-6e5738917219fe619689d6bafca4a75b61dcd689.tar.zst
yuzu-6e5738917219fe619689d6bafca4a75b61dcd689.zip
Diffstat (limited to 'src/citra_qt')
-rw-r--r--src/citra_qt/game_list.cpp2
-rw-r--r--src/citra_qt/main.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/citra_qt/game_list.cpp b/src/citra_qt/game_list.cpp
index dade3c212..e925f08a7 100644
--- a/src/citra_qt/game_list.cpp
+++ b/src/citra_qt/game_list.cpp
@@ -80,7 +80,7 @@ void GameList::DonePopulating()
void GameList::PopulateAsync(const QString& dir_path, bool deep_scan)
{
if (!FileUtil::Exists(dir_path.toStdString()) || !FileUtil::IsDirectory(dir_path.toStdString())) {
- LOG_ERROR(Frontend, "Could not find game list folder at %s", dir_path.toLatin1().data());
+ LOG_ERROR(Frontend, "Could not find game list folder at %s", dir_path.toLocal8Bit().data());
return;
}
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index d25220e25..bcff6be64 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -355,7 +355,7 @@ void GMainWindow::UpdateRecentFiles() {
}
void GMainWindow::OnGameListLoadFile(QString game_path) {
- BootGame(game_path.toLatin1().data());
+ BootGame(game_path.toLocal8Bit().data());
}
void GMainWindow::OnMenuLoadFile() {
@@ -367,7 +367,7 @@ void GMainWindow::OnMenuLoadFile() {
settings.setValue("romsPath", QFileInfo(filename).path());
StoreRecentFile(filename);
- BootGame(filename.toLatin1().data());
+ BootGame(filename.toLocal8Bit().data());
}
}
@@ -379,7 +379,7 @@ void GMainWindow::OnMenuLoadSymbolMap() {
if (!filename.isEmpty()) {
settings.setValue("symbolsPath", QFileInfo(filename).path());
- LoadSymbolMap(filename.toLatin1().data());
+ LoadSymbolMap(filename.toLocal8Bit().data());
}
}
@@ -400,7 +400,7 @@ void GMainWindow::OnMenuRecentFile() {
QString filename = action->data().toString();
QFileInfo file_info(filename);
if (file_info.exists()) {
- BootGame(filename.toLatin1().data());
+ BootGame(filename.toLocal8Bit().data());
StoreRecentFile(filename); // Put the filename on top of the list
} else {
// Display an error message and remove the file from the list.