Qt: Fix loading/saving state to file on Windows
This commit is contained in:
parent
59a7c3d9a8
commit
bd19276cf5
|
@ -931,7 +931,7 @@ void MainWindow::populateLoadStateMenu(const char* game_serial, QMenu* menu)
|
|||
if (path.isEmpty())
|
||||
return;
|
||||
|
||||
g_emu_thread->loadState(path);
|
||||
g_emu_thread->loadState(QDir::toNativeSeparators(path));
|
||||
});
|
||||
QAction* load_from_state = menu->addAction(tr("Undo Load State"));
|
||||
load_from_state->setEnabled(System::CanUndoLoadState());
|
||||
|
@ -973,7 +973,7 @@ void MainWindow::populateSaveStateMenu(const char* game_serial, QMenu* menu)
|
|||
if (path.isEmpty())
|
||||
return;
|
||||
|
||||
g_emu_thread->saveState(path);
|
||||
g_emu_thread->saveState(QDir::toNativeSeparators(path));
|
||||
});
|
||||
menu->addSeparator();
|
||||
|
||||
|
|
Loading…
Reference in New Issue