Skip to content

Commit

Permalink
Buildfix
Browse files Browse the repository at this point in the history
  • Loading branch information
hrydgard committed Jan 20, 2025
1 parent 040b3ec commit 935d4b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 4 additions & 0 deletions Core/HLE/sceNet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1316,6 +1316,10 @@ int NetApctl_GetState() {
return netApctlState;
}

bool __NetApctlConnected() {
return netApctlState >= PSP_NET_APCTL_STATE_GOT_IP;
}

static int sceNetApctlGetState(u32 pStateAddr) {
//if (!netApctlInited) return hleLogError(Log::sceNet, ERROR_NET_APCTL_NOT_IN_BSS, "apctl not in bss");

Expand Down
4 changes: 1 addition & 3 deletions Core/HLE/sceNet.h
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,7 @@ void __NetDoState(PointerWrap &p);

int NetApctl_GetState();

inline bool __NetApctlConnected() {
return netApctlState >= PSP_NET_APCTL_STATE_GOT_IP;
}
bool __NetApctlConnected();

int sceNetApctlConnect(int connIndex);

Expand Down

0 comments on commit 935d4b8

Please sign in to comment.