Commit 82f0ebd0 authored by Libretro-Admin's avatar Libretro-Admin
Browse files
parent af8f87d8
......@@ -904,9 +904,15 @@ D_DrawZSpans(espan_t *pspan)
{
do
{
#ifdef MSB_FIRST
unsigned ltemp = izi & 0xFFFF0000;
izi += izistep;
ltemp |= izi >> 16;
#else
unsigned ltemp = izi >> 16;
izi += izistep;
ltemp |= izi & 0xFFFF0000;
#endif
izi += izistep;
*(int *)pdest = ltemp;
pdest += 2;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment