mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-26 11:48:36 +01:00
Add some basic reporting hooks.
This commit is contained in:
1 parent
78d320d576
commit
cb4c7f0eb6
2 files changed
+4
No files matched your search
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user