summaryrefslogtreecommitdiffstats
path: root/src/citra_qt/bootmanager.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/bootmanager.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 'src/citra_qt/bootmanager.cpp')
-rw-r--r--src/citra_qt/bootmanager.cpp8
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()