summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-07-29 18:16:56 +0200
committerbunnei <bunneidev@gmail.com>2015-07-29 18:16:56 +0200
commitaee575b24d9c0b07741d3e51c096994a7c85b828 (patch)
treea3ee60bcacd7264f4cdf5b3aa8241d04f7f0ecd0
parentMerge pull request #1009 from lioncash/table (diff)
parentcitra-qt: Pass string by const reference (diff)
downloadyuzu-aee575b24d9c0b07741d3e51c096994a7c85b828.tar
yuzu-aee575b24d9c0b07741d3e51c096994a7c85b828.tar.gz
yuzu-aee575b24d9c0b07741d3e51c096994a7c85b828.tar.bz2
yuzu-aee575b24d9c0b07741d3e51c096994a7c85b828.tar.lz
yuzu-aee575b24d9c0b07741d3e51c096994a7c85b828.tar.xz
yuzu-aee575b24d9c0b07741d3e51c096994a7c85b828.tar.zst
yuzu-aee575b24d9c0b07741d3e51c096994a7c85b828.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;