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/bootmanager.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 'src/citra_qt/bootmanager.cpp')
-rw-r--r-- | src/citra_qt/bootmanager.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/citra_qt/bootmanager.cpp b/src/citra_qt/bootmanager.cpp index a162e6dfe..b0aa1e561 100644 --- a/src/citra_qt/bootmanager.cpp +++ b/src/citra_qt/bootmanager.cpp @@ -17,13 +17,15 @@ #define APP_TITLE APP_NAME " " APP_VERSION #define COPYRIGHT "Copyright (C) 2013-2014 Citra Team" -EmuThread::EmuThread(GRenderWindow* render_window) : exec_cpu_step(false), cpu_running(false), render_window(render_window) +EmuThread::EmuThread(GRenderWindow* render_window) : + exec_cpu_step(false), cpu_running(false), + render_window(render_window), filename("") { } -void EmuThread::SetFilename(const char* filename) +void EmuThread::SetFilename(std::string filename) { - strcpy(this->filename, filename); + this->filename = filename; } void EmuThread::run() |