mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-26 04:06:32 +00:00
Make uninitialized XFB gray on non-x86 systems too
This commit is contained in:
parent
e07ba43106
commit
4b4811fbe9
1 changed files with 1 additions and 10 deletions
|
@ -2428,16 +2428,7 @@ void TextureCacheBase::UninitializeXFBMemory(u8* dst, u32 stride, u32 bytes_per_
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
for (u32 offset = 0; offset < size; offset++)
|
for (u32 offset = 0; offset < size; offset++)
|
||||||
{
|
rowdst[offset] = 0x80;
|
||||||
if (offset & 1)
|
|
||||||
{
|
|
||||||
rowdst[offset] = 254;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
rowdst[offset] = 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
dst += stride;
|
dst += stride;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue