mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-02 10:43:44 +01:00
Added a UPnP option to use original port for external port instead of using the shifted port by port offset, to be compatible with real PSP or other PSP emulators
This commit is contained in:
1 parent
eea2b23452
commit
b9025b50bd
10 files changed
+86
-45
No files matched your search
@@ -118,6 +118,7 @@ static void __ResetInitNetLib() {
|
||||
void __NetInit() {
|
||||
// Windows: Assuming WSAStartup already called beforehand
|
||||
portOffset = g_Config.iPortOffset;
|
||||
isOriPort = g_Config.bEnableUPnP && g_Config.bUPnPUseOriginalPort;
|
||||
minSocketTimeoutUS = g_Config.iMinTimeout * 1000UL;
|
||||
|
||||
InitLocalhostIP();
|
||||
|
||||
Reference in new issue
Block a user