mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
SPU: cleanup channels logging
This commit is contained in:
parent
abcf265bc7
commit
b56bc7e087
@ -2473,7 +2473,7 @@ bool spu_thread::process_mfc_cmd()
|
||||
}
|
||||
|
||||
spu::scheduler::concurrent_execution_watchdog watchdog(*this);
|
||||
spu_log.trace("DMAC: [%s]", ch_mfc_cmd);
|
||||
spu_log.trace("DMAC: (%s)", ch_mfc_cmd);
|
||||
|
||||
switch (ch_mfc_cmd.cmd)
|
||||
{
|
||||
@ -2848,7 +2848,7 @@ void spu_thread::set_interrupt_status(bool enable)
|
||||
|
||||
u32 spu_thread::get_ch_count(u32 ch)
|
||||
{
|
||||
spu_log.trace("get_ch_count(ch=%d [%s])", ch, ch < 128 ? spu_ch_name[ch] : "???");
|
||||
if (ch < 128) spu_log.trace("get_ch_count(ch=%s)", spu_ch_name[ch]);
|
||||
|
||||
switch (ch)
|
||||
{
|
||||
@ -2889,13 +2889,13 @@ u32 spu_thread::get_ch_count(u32 ch)
|
||||
}
|
||||
|
||||
verify(HERE), ch < 128u;
|
||||
spu_log.error("Unknown/illegal channel in RCHCNT (ch=%d [%s])", ch, spu_ch_name[ch]);
|
||||
spu_log.error("Unknown/illegal channel in RCHCNT (ch=%s)", spu_ch_name[ch]);
|
||||
return 0; // Default count
|
||||
}
|
||||
|
||||
s64 spu_thread::get_ch_value(u32 ch)
|
||||
{
|
||||
spu_log.trace("get_ch_value(ch=%d [%s])", ch, ch < 128 ? spu_ch_name[ch] : "???");
|
||||
if (ch < 128) spu_log.trace("get_ch_value(ch=%s)", spu_ch_name[ch]);
|
||||
|
||||
auto read_channel = [&](spu_channel& channel) -> s64
|
||||
{
|
||||
@ -3090,7 +3090,7 @@ s64 spu_thread::get_ch_value(u32 ch)
|
||||
|
||||
bool spu_thread::set_ch_value(u32 ch, u32 value)
|
||||
{
|
||||
spu_log.trace("set_ch_value(ch=%d [%s], value=0x%x)", ch, ch < 128 ? spu_ch_name[ch] : "???", value);
|
||||
if (ch < 128) spu_log.trace("set_ch_value(ch=%s, value=0x%x)", spu_ch_name[ch], value);
|
||||
|
||||
switch (ch)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user