mirror of
https://github.com/holub/mame
synced 2025-04-24 17:30:55 +03:00
01948: All alg.c and cliffhgr.c sets: Access Violation when taking a snapshot
This commit is contained in:
parent
744c82763e
commit
f33daa0877
@ -291,7 +291,7 @@ INLINE UINT32 get_texel_yuy16_bilinear(const render_texinfo *texture, INT32 curu
|
||||
if (v0 < 0) v0 = v1 = 0;
|
||||
else if (v0 + 1 >= texture->height) v0 = texture->height - 1, v1 = 0;
|
||||
|
||||
texbase += v0 * texture->rowpixels + u0;
|
||||
texbase += v0 * texture->rowpixels + (u0 & ~1);
|
||||
|
||||
if ((curu & 0x10000) == 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user