Fix drag/drop crash

This commit is contained in:
Henrik Rydgård committed 2024-12-10 01:03:05 +01:00
1 parent 10445c97d8
commit 43af3128e0
1 file changed
-1
-1
View File
@@ -1055,7 +1055,6 @@ namespace MainWindow
if (DragQueryFile(hdrop, 0, filename, ARRAY_SIZE(filename)) != 0) {
const std::string utf8_filename = ReplaceAll(ConvertWStringToUTF8(filename), "\\", "/");
System_PostUIMessage(UIMessage::REQUEST_GAME_BOOT, utf8_filename);
Core_Resume();
}
}
DragFinish(hdrop);