mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-25 11:46:27 +00:00
more spectator additions
This commit is contained in:
parent
58912f9d91
commit
c93f803d9a
1 changed files with 6 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
#include "Core/Boot/Boot.h"
|
||||
#include "Core/ConfigManager.h"
|
||||
#include "Core/Core.h"
|
||||
#include "Core/Slippi/SlippiSpectate.h"
|
||||
|
||||
#include "DolphinQt/Host.h"
|
||||
#include "DolphinQt/MainWindow.h"
|
||||
|
@ -159,6 +160,11 @@ int main(int argc, char* argv[])
|
|||
save_state_path = static_cast<const char*>(options.get("save_state"));
|
||||
}
|
||||
|
||||
// for now, only initialize the server for non playback instances
|
||||
#ifndef IS_PLAYBACK
|
||||
SlippiSpectateServer::getInstance().endGame();
|
||||
#endif
|
||||
|
||||
std::unique_ptr<BootParameters> boot;
|
||||
bool game_specified = false;
|
||||
if (options.is_set("exec"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue