summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/main.cpp
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-08-15 08:59:31 +0200
committerarchshift <admin@archshift.com>2014-08-15 08:59:31 +0200
commit6096b289b776678e3a6f938dddd7367f784a83fe (patch)
treeb226b58f2ca96c584a72c2ab7e6fc7b63d56e7cc /src/citra_qt/main.cpp
parentMerge pull request #43 from archshift/iftree (diff)
downloadyuzu-6096b289b776678e3a6f938dddd7367f784a83fe.tar
yuzu-6096b289b776678e3a6f938dddd7367f784a83fe.tar.gz
yuzu-6096b289b776678e3a6f938dddd7367f784a83fe.tar.bz2
yuzu-6096b289b776678e3a6f938dddd7367f784a83fe.tar.lz
yuzu-6096b289b776678e3a6f938dddd7367f784a83fe.tar.xz
yuzu-6096b289b776678e3a6f938dddd7367f784a83fe.tar.zst
yuzu-6096b289b776678e3a6f938dddd7367f784a83fe.zip
Diffstat (limited to '')
-rw-r--r--src/citra_qt/main.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/citra_qt/main.cpp b/src/citra_qt/main.cpp
index 997e82cc9..e5190d48a 100644
--- a/src/citra_qt/main.cpp
+++ b/src/citra_qt/main.cpp
@@ -123,7 +123,7 @@ GMainWindow::~GMainWindow()
delete render_window;
}
-void GMainWindow::BootGame(const char* filename)
+void GMainWindow::BootGame(std::string filename)
{
NOTICE_LOG(MASTER_LOG, "citra starting...\n");
@@ -134,8 +134,7 @@ void GMainWindow::BootGame(const char* filename)
}
// Load a game or die...
- std::string boot_filename = filename;
- if (Loader::ResultStatus::Success != Loader::LoadFile(boot_filename)) {
+ if (Loader::ResultStatus::Success != Loader::LoadFile(filename)) {
ERROR_LOG(BOOT, "Failed to load ROM!");
}