mirror of
https://github.com/PCSX2/gsdx-sourceforge.git
synced 2026-02-04 03:11:19 +01:00
This commit is contained in:
@@ -188,23 +188,33 @@ void GPUDrawScanline::SampleTexture(int pixels, DWORD ltf, DWORD tlu, DWORD twin
|
||||
{
|
||||
do
|
||||
{
|
||||
if(test.u16[i]) // me &&
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
c00.u16[i] = clut[((const BYTE*)tex)[addr00.u16[i]]];
|
||||
c01.u16[i] = clut[((const BYTE*)tex)[addr01.u16[i]]];
|
||||
c10.u16[i] = clut[((const BYTE*)tex)[addr10.u16[i]]];
|
||||
c11.u16[i] = clut[((const BYTE*)tex)[addr11.u16[i]]];
|
||||
}
|
||||
while(++i < 8);
|
||||
while(++i < pixels);
|
||||
}
|
||||
else
|
||||
{
|
||||
do
|
||||
{
|
||||
if(test.u16[i]) // me &&
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
c00.u16[i] = ((const WORD*)tex)[addr00.u16[i]];
|
||||
c01.u16[i] = ((const WORD*)tex)[addr01.u16[i]];
|
||||
c10.u16[i] = ((const WORD*)tex)[addr10.u16[i]];
|
||||
c11.u16[i] = ((const WORD*)tex)[addr11.u16[i]];
|
||||
}
|
||||
while(++i < 8);
|
||||
while(++i < pixels);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -365,8 +365,6 @@ void GPULocalMemory::MoveRect(const CPoint& src, const CPoint& dst, int w, int h
|
||||
|
||||
void GPULocalMemory::ReadPage4(int tx, int ty, BYTE* RESTRICT dst)
|
||||
{
|
||||
GSVector4i mask(0x0f0f0f0f);
|
||||
|
||||
WORD* src = GetPixelAddressScaled(tx << 6, ty << 8);
|
||||
|
||||
int pitch = GetWidth() << m_scale.cy;
|
||||
|
||||
Reference in New Issue
Block a user