mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
Reduce logging of some SPU debug data
This commit is contained in:
parent
dae83c53fb
commit
89299eb1f7
1 changed files with 2 additions and 2 deletions
|
@ -1177,7 +1177,7 @@ void spu_cache::initialize(bool build_existing_cache)
|
||||||
|
|
||||||
bool sk = false;
|
bool sk = false;
|
||||||
|
|
||||||
for (u32 i = 0; i < bytes.size(); i++)
|
for (u32 i = 0; i < std::min<usz>(bytes.size(), std::max<usz>(256, depth_m)); i++)
|
||||||
{
|
{
|
||||||
if (depth_m == i)
|
if (depth_m == i)
|
||||||
{
|
{
|
||||||
|
@ -1204,7 +1204,7 @@ void spu_cache::initialize(bool build_existing_cache)
|
||||||
|
|
||||||
fmt::append(dump, "\n\t%49s", "");
|
fmt::append(dump, "\n\t%49s", "");
|
||||||
|
|
||||||
for (u32 i = 0; i < f->data.size(); i++)
|
for (u32 i = 0; i < std::min<usz>(f->data.size(), std::max<usz>(64, utils::aligned_div<u32>(depth_m, 4))); i++)
|
||||||
{
|
{
|
||||||
fmt::append(dump, "%-10s", g_spu_iname.decode(std::bit_cast<be_t<u32>>(f->data[i])));
|
fmt::append(dump, "%-10s", g_spu_iname.decode(std::bit_cast<be_t<u32>>(f->data[i])));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue