Patch for RSX. If both EMX_VIDEO and WIN32 are defined, write attributes

correctly.
RSX support is almost complete now.
This commit is contained in:
Pavel Machek 1998-05-14 15:40:42 +00:00
parent 3e786f5a50
commit 2565113b86

View File

@ -1035,7 +1035,7 @@ static void write_attributes (unsigned short *src, int count)
# if defined (HAS_LINEAR_SCREEN)
*(pos++) = ((unsigned short) Attribute_Byte << 8) | pair & 0xff;
# else
# ifndef WIN32
# if defined(EMX_VIDEO) || !defined(WIN32)
*(p++) = pair & 0xff; /* character byte */
*(p++) = Attribute_Byte; /* attribute byte */
# else