sceNetInet: Refactor errno handling and logging, so we always see how it changes

This commit is contained in:
Henrik Rydgård committed 2025-01-12 14:57:51 +01:00
1 parent e438de1a00
commit 1013be090c
5 files changed
+150 -92

No files matched your search

-5
View File
@@ -281,11 +281,6 @@ static void __UpdateApctlHandlers(u32 oldState, u32 newState, u32 flag, u32 erro
apctlEvents.push_back({ oldState, newState, flag, error });
}
// Make sure MIPS calls have been fully executed before the next notifyApctlHandlers
void notifyApctlHandlers(int oldState, int newState, int flag, int error) {
__UpdateApctlHandlers(oldState, newState, flag, error);
}
void netValidateLoopMemory() {
// Allocate Memory if it wasn't valid/allocated after loaded from old SaveState
if (!apctlThreadHackAddr || (apctlThreadHackAddr && strcmp("apctlThreadHack", kernelMemory.GetBlockTag(apctlThreadHackAddr)) != 0)) {