mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
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:
parent
3e786f5a50
commit
2565113b86
@ -1035,7 +1035,7 @@ static void write_attributes (unsigned short *src, int count)
|
|||||||
# if defined (HAS_LINEAR_SCREEN)
|
# if defined (HAS_LINEAR_SCREEN)
|
||||||
*(pos++) = ((unsigned short) Attribute_Byte << 8) | pair & 0xff;
|
*(pos++) = ((unsigned short) Attribute_Byte << 8) | pair & 0xff;
|
||||||
# else
|
# else
|
||||||
# ifndef WIN32
|
# if defined(EMX_VIDEO) || !defined(WIN32)
|
||||||
*(p++) = pair & 0xff; /* character byte */
|
*(p++) = pair & 0xff; /* character byte */
|
||||||
*(p++) = Attribute_Byte; /* attribute byte */
|
*(p++) = Attribute_Byte; /* attribute byte */
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user