Making sure there are no warnings related to deprecated inet_ntoa function

This commit is contained in:
ANR2ME 2021-03-01 01:25:27 +07:00
parent 0facd4d4a6
commit 758fb12fc3
5 changed files with 53 additions and 42 deletions

View file

@ -205,7 +205,7 @@ void __NetInit() {
SceNetEtherAddr mac;
getLocalMac(&mac);
NOTICE_LOG(SCENET, "LocalHost IP will be %s [%s]", inet_ntoa(g_localhostIP.in.sin_addr), mac2str(&mac).c_str());
NOTICE_LOG(SCENET, "LocalHost IP will be %s [%s]", ip2str(g_localhostIP.in.sin_addr).c_str(), mac2str(&mac).c_str());
// TODO: May be we should initialize & cleanup somewhere else than here for PortManager to be used as general purpose for whatever port forwarding PPSSPP needed
__UPnPInit();