mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-04 07:00:51 +00:00
Merge pull request #7168 from lioncash/whoops
proAdhoc: Change resolveMAC to return bool
This commit is contained in:
commit
5d48d896d6
@ -790,7 +790,7 @@ bool resolveIP(uint32_t ip, SceNetEtherAddr * mac) {
|
||||
return false;
|
||||
}
|
||||
|
||||
int resolveMAC(SceNetEtherAddr * mac, uint32_t * ip) {
|
||||
bool resolveMAC(SceNetEtherAddr * mac, uint32_t * ip) {
|
||||
// Get Local MAC Address
|
||||
SceNetEtherAddr localMac;
|
||||
getLocalMac(&localMac);
|
||||
|
@ -645,7 +645,7 @@ bool resolveIP(uint32_t ip, SceNetEtherAddr * mac);
|
||||
* @param ip OUT: Peer IP
|
||||
* @return true on success, false otherwise.
|
||||
*/
|
||||
int resolveMAC(SceNetEtherAddr * mac, uint32_t * ip);
|
||||
bool resolveMAC(SceNetEtherAddr * mac, uint32_t * ip);
|
||||
|
||||
/**
|
||||
* Check whether Network Name contains only valid symbols
|
||||
|
Loading…
Reference in New Issue
Block a user