mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-01-31 01:15:24 +01:00
Enable IOP's detailed bios logs to devel builds (previously debug build only), and have IOP interpreter always spam bios logs even in release mode builds.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@2433 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
@@ -196,7 +196,6 @@ const char* intrname[]={
|
||||
|
||||
void zeroEx()
|
||||
{
|
||||
#ifdef PCSX2_DEVBUILD
|
||||
u32 pc;
|
||||
u32 code;
|
||||
const char *lib;
|
||||
@@ -243,16 +242,21 @@ void zeroEx()
|
||||
psxRegs.pc = psxRegs.GPR.n.ra;
|
||||
}
|
||||
|
||||
if (!strncmp(lib, "loadcore", 8) && code == 6) {
|
||||
DevCon.WriteLn( Color_Gray, "loadcore RegisterLibraryEntries (%x): %8.8s", psxRegs.pc, iopVirtMemR<char>(psxRegs.GPR.n.a0+12));
|
||||
}
|
||||
{
|
||||
// these three can be pretty spammy at times, and so we might want to attach a
|
||||
// log source toggle to them.
|
||||
|
||||
if (!strncmp(lib, "intrman", 7) && code == 4) {
|
||||
DevCon.WriteLn( Color_Gray, "intrman RegisterIntrHandler (%x): intr %s, handler %x", psxRegs.pc, intrname[psxRegs.GPR.n.a0], psxRegs.GPR.n.a2);
|
||||
}
|
||||
if (!strncmp(lib, "loadcore", 8) && code == 6) {
|
||||
DbgCon.WriteLn( Color_Gray, "loadcore RegisterLibraryEntries (%x): %8.8s", psxRegs.pc, iopVirtMemR<char>(psxRegs.GPR.n.a0+12));
|
||||
}
|
||||
|
||||
if (!strncmp(lib, "sifcmd", 6) && code == 17) {
|
||||
DevCon.WriteLn( Color_Gray, "sifcmd sceSifRegisterRpc (%x): rpc_id %x", psxRegs.pc, psxRegs.GPR.n.a1);
|
||||
if (!strncmp(lib, "intrman", 7) && code == 4) {
|
||||
DbgCon.WriteLn( Color_Gray, "intrman RegisterIntrHandler (%x): intr %s, handler %x", psxRegs.pc, intrname[psxRegs.GPR.n.a0], psxRegs.GPR.n.a2);
|
||||
}
|
||||
|
||||
if (!strncmp(lib, "sifcmd", 6) && code == 17) {
|
||||
DbgCon.WriteLn( Color_Gray, "sifcmd sceSifRegisterRpc (%x): rpc_id %x", psxRegs.pc, psxRegs.GPR.n.a1);
|
||||
}
|
||||
}
|
||||
|
||||
if (!strncmp(lib, "sysclib", 8))
|
||||
|
||||
Reference in New Issue
Block a user