Cast size_t to unsigned long for printing.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6721 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
c729b86c00
commit
079bc67347
|
@ -312,7 +312,7 @@ bool CEXIETHERNET::cbwriteDescriptor(u32 size)
|
||||||
//DWORD swapped = swapw(descr.word);
|
//DWORD swapped = swapw(descr.word);
|
||||||
//next_packet_ptr:12, packet_len:12, status:8;
|
//next_packet_ptr:12, packet_len:12, status:8;
|
||||||
INFO_LOG(SP1, "Writing descriptor 0x%08X @ 0x%04lX: next 0x%03X len 0x%03X status 0x%02X\n",
|
INFO_LOG(SP1, "Writing descriptor 0x%08X @ 0x%04lX: next 0x%03X len 0x%03X status 0x%02X\n",
|
||||||
descr.word, mCbw.p_write() + CB_OFFSET, descr.next_packet_ptr,
|
descr.word, (unsigned long)mCbw.p_write() + CB_OFFSET, descr.next_packet_ptr,
|
||||||
descr.packet_len, descr.status);
|
descr.packet_len, descr.status);
|
||||||
mCbw.write(&descr.word, SIZEOF_RECV_DESCRIPTOR);
|
mCbw.write(&descr.word, SIZEOF_RECV_DESCRIPTOR);
|
||||||
|
|
||||||
|
|
|
@ -213,7 +213,8 @@ void CEXIETHERNET::ImmWrite(u32 data, u32 size)
|
||||||
//_dbg_assert_(SP1, data == (u32)((u16)mCbw.p_write() + CB_OFFSET) >> 8);
|
//_dbg_assert_(SP1, data == (u32)((u16)mCbw.p_write() + CB_OFFSET) >> 8);
|
||||||
if (data != (u32)((u16)mCbw.p_write() + CB_OFFSET) >> 8)
|
if (data != (u32)((u16)mCbw.p_write() + CB_OFFSET) >> 8)
|
||||||
{
|
{
|
||||||
ERROR_LOG(SP1, "BBA RWP ASSERT data %x p_write %lx", data, mCbw.p_write());
|
ERROR_LOG(SP1, "BBA RWP ASSERT data %x p_write %lx",
|
||||||
|
data, (unsigned long)mCbw.p_write());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case BBA_RRP: // RRP - Receive Buffer Read Page Pointer
|
case BBA_RRP: // RRP - Receive Buffer Read Page Pointer
|
||||||
|
|
Loading…
Reference in New Issue