mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-07 09:01:57 +00:00
- Fixed: rt_Translate1col() had a couple of bugs.
SVN r774 (trunk)
This commit is contained in:
parent
db5938d22a
commit
965bfda5fe
2 changed files with 5 additions and 2 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
February 28, 2008
|
||||||
|
- Fixed: rt_Translate1col() had a couple of bugs.
|
||||||
|
|
||||||
February 27, 2008
|
February 27, 2008
|
||||||
- Added assembly versions of rt_add4cols and rt_addclamp4cols.
|
- Added assembly versions of rt_add4cols and rt_addclamp4cols.
|
||||||
|
|
||||||
|
|
|
@ -250,12 +250,12 @@ void rt_Translate1col(const BYTE *translation, int hx, int yl, int yh)
|
||||||
|
|
||||||
c0 = source[24]; c1 = source[28];
|
c0 = source[24]; c1 = source[28];
|
||||||
b0 = translation[c0]; b1 = translation[c1];
|
b0 = translation[c0]; b1 = translation[c1];
|
||||||
source[28] = b0; source[28] = b1;
|
source[24] = b0; source[28] = b1;
|
||||||
|
|
||||||
source += 32;
|
source += 32;
|
||||||
}
|
}
|
||||||
// Finish by doing 1 row at a time.
|
// Finish by doing 1 row at a time.
|
||||||
for (count &= 7; count; --count, source++)
|
for (count &= 7; count; --count, source += 4)
|
||||||
{
|
{
|
||||||
source[0] = translation[source[0]];
|
source[0] = translation[source[0]];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue