Skip to content

Commit

Permalink
input-rec: Use toNativeSeparators() when opening recording
Browse files Browse the repository at this point in the history
  • Loading branch information
TheLastRar authored and stenzek committed Jun 4, 2024
1 parent 9e1acc5 commit 877c3ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcsx2-qt/MainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,7 @@ void MainWindow::onInputRecPlayActionTriggered()
Host::RunOnCPUThread([]() { g_InputRecording.stop(); });
m_ui.actionInputRecStop->setEnabled(false);
}
Host::RunOnCPUThread([&, filename = fileNames.first().toStdString()]() {
Host::RunOnCPUThread([&, filename = QDir::toNativeSeparators(fileNames.first()).toStdString()]() {
if (g_InputRecording.play(filename))
{
QtHost::RunOnUIThread([&]() {
Expand Down

0 comments on commit 877c3ee

Please sign in to comment.