mirror of https://github.com/PCSX2/pcsx2.git
input-rec: Use toNativeSeparators() when opening recording
This commit is contained in:
parent
9e1acc5744
commit
877c3ee90d
|
@ -1791,7 +1791,7 @@ void MainWindow::onInputRecPlayActionTriggered()
|
||||||
Host::RunOnCPUThread([]() { g_InputRecording.stop(); });
|
Host::RunOnCPUThread([]() { g_InputRecording.stop(); });
|
||||||
m_ui.actionInputRecStop->setEnabled(false);
|
m_ui.actionInputRecStop->setEnabled(false);
|
||||||
}
|
}
|
||||||
Host::RunOnCPUThread([&, filename = fileNames.first().toStdString()]() {
|
Host::RunOnCPUThread([&, filename = QDir::toNativeSeparators(fileNames.first()).toStdString()]() {
|
||||||
if (g_InputRecording.play(filename))
|
if (g_InputRecording.play(filename))
|
||||||
{
|
{
|
||||||
QtHost::RunOnUIThread([&]() {
|
QtHost::RunOnUIThread([&]() {
|
||||||
|
|
Loading…
Reference in New Issue