mirror of https://github.com/mgba-emu/mgba.git
Qt: Fix replaceGame on UTF-8 files
This commit is contained in:
parent
f8fb86ef79
commit
559ac947d0
|
@ -593,7 +593,7 @@ void CoreController::replaceGame(const QString& path) {
|
||||||
QString fname = info.canonicalFilePath();
|
QString fname = info.canonicalFilePath();
|
||||||
Interrupter interrupter(this);
|
Interrupter interrupter(this);
|
||||||
mDirectorySetDetachBase(&m_threadContext.core->dirs);
|
mDirectorySetDetachBase(&m_threadContext.core->dirs);
|
||||||
mCoreLoadFile(m_threadContext.core, fname.toLocal8Bit().constData());
|
mCoreLoadFile(m_threadContext.core, fname.toUtf8().constData());
|
||||||
}
|
}
|
||||||
|
|
||||||
void CoreController::yankPak() {
|
void CoreController::yankPak() {
|
||||||
|
|
Loading…
Reference in New Issue