From fbf52b57e84bab04d22c98e174956b89f0ba8317 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Thu, 11 Nov 2021 11:48:20 +1000 Subject: [PATCH] Qt: Fix save state to file executing in UI thread --- src/duckstation-qt/qthostinterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/duckstation-qt/qthostinterface.cpp b/src/duckstation-qt/qthostinterface.cpp index b43fb1317..e3f9ab24e 100644 --- a/src/duckstation-qt/qthostinterface.cpp +++ b/src/duckstation-qt/qthostinterface.cpp @@ -1059,7 +1059,7 @@ void QtHostInterface::populateSaveStateMenu(const char* game_code, QMenu* menu) if (path.isEmpty()) return; - SaveState(path.toUtf8().constData()); + saveState(path); }); menu->addSeparator();