mirror of https://github.com/PCSX2/pcsx2.git
pcsx2:log: add MDEC_LOG trace capability
This commit is contained in:
parent
5ef2d538a0
commit
ac1b3845b2
|
@ -303,6 +303,7 @@ struct SysTraceLogPack
|
||||||
SysTraceLog_IOP_Events DMAC;
|
SysTraceLog_IOP_Events DMAC;
|
||||||
SysTraceLog_IOP_Events Counters;
|
SysTraceLog_IOP_Events Counters;
|
||||||
SysTraceLog_IOP_Events CDVD;
|
SysTraceLog_IOP_Events CDVD;
|
||||||
|
SysTraceLog_IOP_Events MDEC;
|
||||||
|
|
||||||
IOP_PACK();
|
IOP_PACK();
|
||||||
} IOP;
|
} IOP;
|
||||||
|
@ -380,6 +381,7 @@ extern void __Log( const char* fmt, ... );
|
||||||
#define PAD_LOG macTrace(IOP.PAD)
|
#define PAD_LOG macTrace(IOP.PAD)
|
||||||
#define GPU_LOG macTrace(IOP.GPU)
|
#define GPU_LOG macTrace(IOP.GPU)
|
||||||
#define CDVD_LOG macTrace(IOP.CDVD)
|
#define CDVD_LOG macTrace(IOP.CDVD)
|
||||||
|
#define MDEC_LOG macTrace(IOP.MDEC)
|
||||||
|
|
||||||
|
|
||||||
#define ELF_LOG SysConsole.ELF.IsActive() && SysConsole.ELF.Write
|
#define ELF_LOG SysConsole.ELF.IsActive() && SysConsole.ELF.Write
|
||||||
|
|
|
@ -329,6 +329,12 @@ TLD_IOP_CDVD = {
|
||||||
L"CDVD", L"CDVD",
|
L"CDVD", L"CDVD",
|
||||||
pxDt("Detailed logging of CDVD hardware."),
|
pxDt("Detailed logging of CDVD hardware."),
|
||||||
"CDVD"
|
"CDVD"
|
||||||
|
},
|
||||||
|
|
||||||
|
TLD_IOP_MDEC = {
|
||||||
|
L"MDEC", L"MDEC",
|
||||||
|
pxDt("Detailed logging of the Motion (FMV) Decoder hardware unit."),
|
||||||
|
"MDEC"
|
||||||
};
|
};
|
||||||
|
|
||||||
SysTraceLogPack::SysTraceLogPack()
|
SysTraceLogPack::SysTraceLogPack()
|
||||||
|
@ -379,5 +385,6 @@ SysTraceLogPack::IOP_PACK::IOP_PACK()
|
||||||
, DMAC (&TLD_IOP_DMAC)
|
, DMAC (&TLD_IOP_DMAC)
|
||||||
, Counters (&TLD_IOP_Counters)
|
, Counters (&TLD_IOP_Counters)
|
||||||
, CDVD (&TLD_IOP_CDVD)
|
, CDVD (&TLD_IOP_CDVD)
|
||||||
|
, MDEC (&TLD_IOP_MDEC)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -163,6 +163,7 @@ static SysTraceLog * const traceLogList[] =
|
||||||
&SysTrace.IOP.DMAC,
|
&SysTrace.IOP.DMAC,
|
||||||
&SysTrace.IOP.Counters,
|
&SysTrace.IOP.Counters,
|
||||||
&SysTrace.IOP.CDVD,
|
&SysTrace.IOP.CDVD,
|
||||||
|
&SysTrace.IOP.MDEC,
|
||||||
};
|
};
|
||||||
|
|
||||||
static const uint traceLogCount = ArraySize(traceLogList);
|
static const uint traceLogCount = ArraySize(traceLogList);
|
||||||
|
|
Loading…
Reference in New Issue