mirror of
https://github.com/libretro/ppsspp.git
synced 2025-01-27 19:53:01 +00:00
Fix drag and drop loading on Windows.
This commit is contained in:
parent
481c450718
commit
c12b306abd
@ -608,11 +608,13 @@ namespace MainWindow
|
||||
TCHAR *type = filename+_tcslen(filename)-3;
|
||||
|
||||
SendMessage(hWnd, WM_COMMAND, ID_EMULATION_STOP, 0);
|
||||
// Ugly, need to wait for the stop message to process in the EmuThread.
|
||||
Sleep(20);
|
||||
|
||||
MainWindow::SetPlaying(filename);
|
||||
MainWindow::Update();
|
||||
|
||||
NativeMessageReceived("run", filename);
|
||||
NativeMessageReceived("boot", filename);
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user