diff options
author | bunnei <bunneidev@gmail.com> | 2014-08-15 15:53:57 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-08-15 15:53:57 +0200 |
commit | d1c2b76ad1687c4ccf5673d593de3b7f8710a9c0 (patch) | |
tree | b226b58f2ca96c584a72c2ab7e6fc7b63d56e7cc /src/citra_qt/main.cpp | |
parent | Merge pull request #43 from archshift/iftree (diff) | |
parent | Bootmanager: changed `filename` to std::string (diff) | |
download | yuzu-d1c2b76ad1687c4ccf5673d593de3b7f8710a9c0.tar yuzu-d1c2b76ad1687c4ccf5673d593de3b7f8710a9c0.tar.gz yuzu-d1c2b76ad1687c4ccf5673d593de3b7f8710a9c0.tar.bz2 yuzu-d1c2b76ad1687c4ccf5673d593de3b7f8710a9c0.tar.lz yuzu-d1c2b76ad1687c4ccf5673d593de3b7f8710a9c0.tar.xz yuzu-d1c2b76ad1687c4ccf5673d593de3b7f8710a9c0.tar.zst yuzu-d1c2b76ad1687c4ccf5673d593de3b7f8710a9c0.zip |
Diffstat (limited to '')
-rw-r--r-- | src/citra_qt/main.cpp | 5 |
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!"); } |