Convert more HLE logging to the hleLog system

This commit is contained in:
Henrik Rydgård committed 2025-01-19 15:53:20 +01:00
1 parent bb914ca4bf
commit 9165711cef
6 files changed
+29 -46

No files matched your search

+5 -6
View File
@@ -819,16 +819,12 @@ static int sceNetInit(u32 poolSize, u32 calloutPri, u32 calloutStack, u32 netini
// Free(delete) thread info / data.
// Normal usage: sceKernelDeleteThread followed by sceNetFreeThreadInfo with the same threadID as argument
static int sceNetFreeThreadinfo(SceUID thid) {
ERROR_LOG(Log::sceNet, "UNIMPL sceNetFreeThreadinfo(%i)", thid);
return 0;
return hleLogError(Log::sceNet, 0, "UNIMPL");
}
// Abort a thread.
static int sceNetThreadAbort(SceUID thid) {
ERROR_LOG(Log::sceNet, "UNIMPL sceNetThreadAbort(%i)", thid);
return 0;
return hleLogError(Log::sceNet, 0, "UNIMPL");
}
static u32 sceWlanGetEtherAddr(u32 addrAddr) {
@@ -884,6 +880,8 @@ static void sceNetEtherNtostr(u32 macPtr, u32 bufferPtr) {
VERBOSE_LOG(Log::sceNet, "sceNetEtherNtostr - [%s]", buffer);
}
hleNoLogVoid();
}
static int hex_to_digit(int c) {
@@ -932,6 +930,7 @@ static void sceNetEtherStrton(u32 bufferPtr, u32 macPtr) {
// Seems to maybe kinda return the last value. Probably returns void.
//return value;
}
hleNoLogVoid();
}
// Write static data since we don't actually manage any memory for sceNet* yet.