Bootmanager: changed filename to std::string

This commit is contained in:
archshift 2014-08-14 23:59:31 -07:00
parent 73c53b5eb8
commit 6096b289b7
5 changed files with 10 additions and 10 deletions

View file

@ -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()