mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-05 14:31:17 +12:00
Remove deprecated logging system and expose developer logging window (#825)
This commit is contained in:
parent
b8dec03cb5
commit
d903b2cf12
47 changed files with 148 additions and 283 deletions
|
@ -254,7 +254,7 @@ namespace coreinit
|
|||
else
|
||||
{
|
||||
if (failedAttempts >= 0x800)
|
||||
cemuLog_force("Detected long-term contested OSLockMutex");
|
||||
cemuLog_log(LogType::Force, "Detected long-term contested OSLockMutex");
|
||||
currentThread->waitingForMutex = mutex;
|
||||
mutex->threadQueue.queueAndWait(currentThread);
|
||||
currentThread->waitingForMutex = nullptr;
|
||||
|
|
|
@ -407,7 +407,7 @@ namespace coreinit
|
|||
// release held synchronization primitives
|
||||
if (!threadBE->mutexQueue.isEmpty())
|
||||
{
|
||||
cemuLog_force("OSExitThread: Thread is holding mutexes");
|
||||
cemuLog_log(LogType::Force, "OSExitThread: Thread is holding mutexes");
|
||||
while (true)
|
||||
{
|
||||
OSMutex* mutex = threadBE->mutexQueue.getFirst();
|
||||
|
@ -415,7 +415,7 @@ namespace coreinit
|
|||
break;
|
||||
if (mutex->owner != threadBE)
|
||||
{
|
||||
cemuLog_force("OSExitThread: Thread is holding mutex which it doesn't own");
|
||||
cemuLog_log(LogType::Force, "OSExitThread: Thread is holding mutex which it doesn't own");
|
||||
threadBE->mutexQueue.removeMutex(mutex);
|
||||
continue;
|
||||
}
|
||||
|
|
|
@ -355,7 +355,7 @@ namespace H264
|
|||
uint32 numByteConsumed = 0;
|
||||
if (!DetermineBufferSizes(data, length, numByteConsumed))
|
||||
{
|
||||
cemuLog_force("H264: Unable to determine picture size. Ignoring decode input");
|
||||
cemuLog_log(LogType::Force, "H264: Unable to determine picture size. Ignoring decode input");
|
||||
decodeResult.frameReady = false;
|
||||
return;
|
||||
}
|
||||
|
@ -397,7 +397,7 @@ namespace H264
|
|||
}
|
||||
else if (status != 0)
|
||||
{
|
||||
cemuLog_force("H264: Failed to decode frame (error 0x{:08x})", status);
|
||||
cemuLog_log(LogType::Force, "H264: Failed to decode frame (error 0x{:08x})", status);
|
||||
decodeResult.frameReady = false;
|
||||
return;
|
||||
}
|
||||
|
@ -901,7 +901,7 @@ namespace H264
|
|||
}
|
||||
else
|
||||
{
|
||||
cemuLog_force("h264Export_H264DECSetParam(): Unsupported parameterId 0x{:08x}\n", paramId);
|
||||
cemuLog_log(LogType::Force, "h264Export_H264DECSetParam(): Unsupported parameterId 0x{:08x}\n", paramId);
|
||||
cemu_assert_unimplemented();
|
||||
}
|
||||
return H264DEC_STATUS::SUCCESS;
|
||||
|
|
|
@ -46,7 +46,7 @@ namespace nn
|
|||
if (idbeData.size() != sizeof(nnIdbeEncryptedIcon_t))
|
||||
{
|
||||
// icon does not exist or has the wrong size
|
||||
cemuLog_force("IDBE: Failed to retrieve icon for title {:016x}", titleId);
|
||||
cemuLog_log(LogType::Force, "IDBE: Failed to retrieve icon for title {:016x}", titleId);
|
||||
memset(iconOut, 0, sizeof(nnIdbeEncryptedIcon_t));
|
||||
coreinit_resumeThread(thread);
|
||||
return;
|
||||
|
|
|
@ -1069,8 +1069,8 @@ namespace snd
|
|||
{
|
||||
if (gUnsupportedSoundEffectWarning)
|
||||
return;
|
||||
cemuLog_force("The currently running title is trying to utilize an unsupported audio effect");
|
||||
cemuLog_force("To emulate these correctly, place snd_user.rpl and snduser2.rpl from the original Wii U firmware in /cafeLibs/ folder");
|
||||
cemuLog_log(LogType::Force, "The currently running title is trying to utilize an unsupported audio effect");
|
||||
cemuLog_log(LogType::Force, "To emulate these correctly, place snd_user.rpl and snduser2.rpl from the original Wii U firmware in /cafeLibs/ folder");
|
||||
gUnsupportedSoundEffectWarning = true;
|
||||
}
|
||||
|
||||
|
@ -1104,17 +1104,17 @@ namespace snd
|
|||
|
||||
void AXFXReverbHiInit(AXFXReverbHiData* param)
|
||||
{
|
||||
cemuLog_force("AXFXReverbHiInit - stub");
|
||||
cemuLog_log(LogType::Force, "AXFXReverbHiInit - stub");
|
||||
}
|
||||
|
||||
void AXFXReverbHiSettings(AXFXReverbHiData* param)
|
||||
{
|
||||
cemuLog_force("AXFXReverbHiSettings - stub");
|
||||
cemuLog_log(LogType::Force, "AXFXReverbHiSettings - stub");
|
||||
}
|
||||
|
||||
void AXFXReverbHiShutdown(AXFXReverbHiData* param)
|
||||
{
|
||||
cemuLog_force("AXFXReverbHiShutdown - stub");
|
||||
cemuLog_log(LogType::Force, "AXFXReverbHiShutdown - stub");
|
||||
}
|
||||
|
||||
void AXFXReverbHiCallback(AUXCBSAMPLEDATA* auxSamples, AXFXReverbHiData* reverbHi)
|
||||
|
@ -1133,7 +1133,7 @@ namespace snd
|
|||
|
||||
void AXFXMultiChReverbInit(AXFXMultiChReverbData* param, int ukn2, int ukn3)
|
||||
{
|
||||
cemuLog_force("AXFXMultiChReverbInit (Stubbed)");
|
||||
cemuLog_log(LogType::Force, "AXFXMultiChReverbInit (Stubbed)");
|
||||
}
|
||||
|
||||
void AXFXMultiChReverbSettingsUpdate(AXFXMultiChReverbData* param)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue