Don't skip the bottom half of the texture; fixes the text in
Gamecube Tales of Symphonia with safe textures on. I haven't looked too carefully at exactly which textures are affected, though. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1900 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fb51d14491
commit
7d3dbde234
|
@ -96,7 +96,7 @@ u32 TexDecoder_GetSafeTextureHash(const u8 *src, int width, int height, int texf
|
|||
|
||||
const int rowEnd = (width - edgeSkip)/4;
|
||||
const int byteWidth = TexDecoder_GetTextureSizeInBytes(width, 1, texformat);
|
||||
const int colEnd = height / 2 - edgeSkip;
|
||||
const int colEnd = height - edgeSkip;
|
||||
u32 hash = seed ? seed : 0x1337c0de;
|
||||
|
||||
for (int y = edgeSkip; y < colEnd; y += colSkip)
|
||||
|
|
Loading…
Reference in New Issue