Add some basic reporting hooks.

This commit is contained in:
Unknown W. Brackets 2013-03-01 23:14:00 -08:00
parent 78d320d576
commit cb4c7f0eb6
2 changed files with 4 additions and 0 deletions

View file

@ -21,6 +21,7 @@
#include <vector>
#include "../MemMap.h"
#include "../Config.h"
#include "Core/Reporting.h"
#include "HLETables.h"
#include "../System.h"
@ -164,6 +165,7 @@ u32 GetSyscallOp(const char *moduleName, u32 nib)
else
{
INFO_LOG(HLE, "Syscall (%s, %08x) unknown", moduleName, nib);
Reporting::ReportMessage("Unknown syscall in known module: %s 0x%08x", moduleName, nib);
return (0x0003FFCC | (modindex<<18)); // invalid syscall
}
}

View file

@ -28,6 +28,7 @@
#include "HLE.h"
#include "../MIPS/MIPS.h"
#include "../HW/SasAudio.h"
#include "Core/Reporting.h"
#include "sceSas.h"
#include "sceKernel.h"
@ -143,6 +144,7 @@ u32 sceSasSetVoice(u32 core, int voiceNum, u32 vagAddr, int size, int loop) {
u32 sceSasSetVoicePCM(u32 core, int voiceNum, u32 pcmAddr, int size, int loop)
{
INFO_LOG(HLE,"PLEASE REPORT issue #505 sceSasSetVoicePCM(%08x, %i, %08x, %i, %i)", core, voiceNum, pcmAddr, size, loop);
Reporting::ReportMessage("sceSasSetVoicePCM(%x, %i)", core, voiceNum);
if (voiceNum >= PSP_SAS_VOICES_MAX || voiceNum < 0) {
WARN_LOG(HLE, "%s: invalid voicenum %d", __FUNCTION__, voiceNum);