mirror of https://github.com/PCSX2/pcsx2.git
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:
parent
2f83a56dc3
commit
958071dcf4
|
@ -695,21 +695,21 @@ void gsWrite64(u32 mem, u64 value) {
|
||||||
|
|
||||||
u8 gsRead8(u32 mem)
|
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);
|
return *(u8*)PS2GS_BASE(mem);
|
||||||
}
|
}
|
||||||
|
|
||||||
u16 gsRead16(u32 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);
|
return *(u16*)PS2GS_BASE(mem);
|
||||||
}
|
}
|
||||||
|
|
||||||
u32 gsRead32(u32 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);
|
return *(u32*)PS2GS_BASE(mem);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue