mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-03 06:39:33 +00:00
NetPlay: Add cancel button for chunked data transfers
This commit is contained in:
parent
7870704087
commit
c90df946ba
5 changed files with 45 additions and 2 deletions
|
@ -1347,6 +1347,16 @@ bool NetPlayServer::StartGame()
|
|||
return true;
|
||||
}
|
||||
|
||||
void NetPlayServer::AbortGameStart()
|
||||
{
|
||||
if (m_start_pending)
|
||||
{
|
||||
m_dialog->OnGameStartAborted();
|
||||
ChunkedDataAbort();
|
||||
m_start_pending = false;
|
||||
}
|
||||
}
|
||||
|
||||
// called from ---GUI--- thread
|
||||
bool NetPlayServer::SyncSaveData()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue