mirror of
https://github.com/Detanup01/gbe_fork.git
synced 2025-03-28 14:56:24 +01:00
remove creation of new global ini if listen port is not there
This commit is contained in:
parent
0e972d8c96
commit
c2d4807d94
1 changed files with 0 additions and 6 deletions
|
@ -622,12 +622,6 @@ static uint16 parse_listen_port(class Local_Storage *local_storage)
|
|||
uint16 port = static_cast<uint16>(ini.GetLongValue("main::connectivity", "listen_port"));
|
||||
if (port == 0) {
|
||||
port = DEFAULT_PORT;
|
||||
save_global_ini_value(
|
||||
local_storage,
|
||||
config_ini_main,
|
||||
"main::connectivity", "listen_port", IniValue((long)port),
|
||||
"change the UDP/TCP port the emulator listens on"
|
||||
);
|
||||
}
|
||||
return port;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue