Core: remove not needed logging

This commit is contained in:
Mrlinkwii 2022-02-18 19:23:03 +00:00 committed by lightningterror
parent f73398ea84
commit 728b3eb5db
2 changed files with 0 additions and 8 deletions

View File

@ -66,11 +66,8 @@ mem32_t __fastcall _hwRead32(u32 mem)
// No game is known to attempt such a thing (yay!), so probably nothing for us to // No game is known to attempt such a thing (yay!), so probably nothing for us to
// worry about. Chances are, though, doing so is "legal" and yields some sort // worry about. Chances are, though, doing so is "legal" and yields some sort
// of reproducible behavior. Candidate for real hardware testing. // of reproducible behavior. Candidate for real hardware testing.
// Current assumption: Reads 128 bits and discards the unused portion. // Current assumption: Reads 128 bits and discards the unused portion.
DevCon.WriteLn( Color_Cyan, "Reading 32-bit FIFO data" );
r128 out128 = _hwRead128<page>(mem & ~0x0f); r128 out128 = _hwRead128<page>(mem & ~0x0f);
return reinterpret_cast<u32*>(&out128)[(mem >> 2) & 0x3]; return reinterpret_cast<u32*>(&out128)[(mem >> 2) & 0x3];
} }
@ -291,8 +288,6 @@ static RETURNS_R64 _hwRead64(u32 mem)
// Current assumption: Reads 128 bits and discards the unused portion. // Current assumption: Reads 128 bits and discards the unused portion.
uint wordpart = (mem >> 3) & 0x1; uint wordpart = (mem >> 3) & 0x1;
DevCon.WriteLn( Color_Cyan, "Reading 64-bit FIFO data (%s 64 bits discarded)", wordpart ? "upper" : "lower" );
r128 full = _hwRead128<page>(mem & ~0x0f); r128 full = _hwRead128<page>(mem & ~0x0f);
return r64_load(reinterpret_cast<u64*>(&full) + wordpart); return r64_load(reinterpret_cast<u64*>(&full) + wordpart);
} }

View File

@ -76,7 +76,6 @@ void __fastcall _hwWrite32( u32 mem, u32 value )
u128 zerofill = u128::From32(0); u128 zerofill = u128::From32(0);
zerofill._u32[(mem >> 2) & 0x03] = value; zerofill._u32[(mem >> 2) & 0x03] = value;
DevCon.WriteLn( Color_Cyan, "Writing 32-bit FIFO data (zero-extended to 128 bits)" );
_hwWrite128<page>(mem & ~0x0f, &zerofill); _hwWrite128<page>(mem & ~0x0f, &zerofill);
} }
return; return;
@ -393,8 +392,6 @@ void __fastcall _hwWrite64( u32 mem, const mem64_t* srcval )
case 0x06: case 0x06:
case 0x07: case 0x07:
{ {
DevCon.WriteLn( Color_Cyan, "Writing 64-bit FIFO data (zero-extended to 128 bits)" );
u128 zerofill = u128::From32(0); u128 zerofill = u128::From32(0);
zerofill._u64[(mem >> 3) & 0x01] = *srcval; zerofill._u64[(mem >> 3) & 0x01] = *srcval;
hwWrite128<page>(mem & ~0x0f, &zerofill); hwWrite128<page>(mem & ~0x0f, &zerofill);