Applied patch from Issue 43 - GIF_LOG had bad/outdated calls for Reads.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@352 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
Jake.Stine 2008-11-20 12:21:53 +00:00 committed by Gregory Hainaut
parent 2f83a56dc3
commit 958071dcf4
1 changed files with 3 additions and 3 deletions

View File

@ -695,21 +695,21 @@ void gsWrite64(u32 mem, u64 value) {
u8 gsRead8(u32 mem)
{
GIF_LOG("GS read 8 %8.8lx, at %8.8lx\n", *(u8*)(PS2MEM_BASE+(mem&~0xc00)), mem);
GIF_LOG("GS read 8 %8.8lx, at %8.8lx\n", *(u8*)PS2GS_BASE(mem), mem);
return *(u8*)PS2GS_BASE(mem);
}
u16 gsRead16(u32 mem)
{
GIF_LOG("GS read 16 %8.8lx, at %8.8lx\n", *(u16*)(PS2MEM_BASE+(mem&~0xc00)), mem);
GIF_LOG("GS read 16 %8.8lx, at %8.8lx\n", *(u16*)PS2GS_BASE(mem), mem);
return *(u16*)PS2GS_BASE(mem);
}
u32 gsRead32(u32 mem)
{
GIF_LOG("GS read 32 %8.8lx, at %8.8lx\n", *(u32*)(PS2MEM_BASE+(mem&~0xc00)), mem);
GIF_LOG("GS read 32 %8.8lx, at %8.8lx\n", *(u32*)PS2GS_BASE(mem), mem);
return *(u32*)PS2GS_BASE(mem);
}