summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-07-29 17:54:07 +0200
committerLioncash <mathew1800@gmail.com>2015-07-29 17:54:07 +0200
commit13ddf60f60a82025694db805333e35a3ed066ca2 (patch)
treea3ee60bcacd7264f4cdf5b3aa8241d04f7f0ecd0
parentMerge pull request #1009 from lioncash/table (diff)
downloadyuzu-13ddf60f60a82025694db805333e35a3ed066ca2.tar
yuzu-13ddf60f60a82025694db805333e35a3ed066ca2.tar.gz
yuzu-13ddf60f60a82025694db805333e35a3ed066ca2.tar.bz2
yuzu-13ddf60f60a82025694db805333e35a3ed066ca2.tar.lz
yuzu-13ddf60f60a82025694db805333e35a3ed066ca2.tar.xz
yuzu-13ddf60f60a82025694db805333e35a3ed066ca2.tar.zst
yuzu-13ddf60f60a82025694db805333e35a3ed066ca2.zip
-rw-r--r--src/citra_qt/main.cpp2
-rw-r--r--src/citra_qt/main.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 34831f2ec..e93e8ebb8 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -207,7 +207,7 @@ void GMainWindow::OnDisplayTitleBars(bool show)
}
}
-void GMainWindow::BootGame(std::string filename) {
+void GMainWindow::BootGame(const std::string& filename) {
LOG_INFO(Frontend, "Citra starting...\n");
// Initialize the core emulation
diff --git a/src/citra_qt/main.h b/src/citra_qt/main.h
index 242b08c39..9fe9e0c9c 100644
--- a/src/citra_qt/main.h
+++ b/src/citra_qt/main.h
@@ -55,7 +55,7 @@ signals:
void EmulationStopping();
private:
- void BootGame(std::string filename);
+ void BootGame(const std::string& filename);
void ShutdownGame();
void closeEvent(QCloseEvent* event) override;