Skip to content

Commit

Permalink
slippi port >= 1024
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlee337 committed Jun 3, 2024
1 parent d23542b commit 5eceb71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinWX/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ bool DolphinApp::OnInit()

if (m_select_video_backend && !m_video_backend_name.empty())
SConfig::GetInstance().m_strVideoBackend = WxStrToStr(m_video_backend_name);
if (m_select_slippi_port && m_slippi_port > 0 && m_slippi_port < 65536)
if (m_select_slippi_port && m_slippi_port >= 1024 && m_slippi_port < 65536)
SConfig::GetInstance().m_spectator_local_port = m_slippi_port;

#ifdef IS_PLAYBACK
Expand Down

0 comments on commit 5eceb71

Please sign in to comment.