Files
kichikuou_xsystem35-sdl2/modules/lib
kichikuou c694d2282c Fix CX (sprite copy) in 24-bit color games with 16-bit CGs
System3.x uses the following bit expansion when converting RGB565 to
RGB888:

  RRRRR GGGGGG BBBBB => RRRRRRRR GGGGGGGG BBBBBBBB
  12345 123456 12345    12345123 12345612 12345123

However, SDL's blit functions use a slightly different mapping, so
sometimes expanded color did not match the color key specified in the CX
command.

To avoid this, convert to RGB888 by ourselves when drawing 16-bit CGs.
2023-06-19 17:18:17 +09:00
..
2022-04-02 22:12:16 +09:00
2022-10-29 09:34:21 +09:00
2017-02-11 19:03:05 +09:00
2022-10-29 09:34:21 +09:00
2017-02-11 19:03:05 +09:00
2022-10-29 09:34:21 +09:00
2022-10-29 09:34:21 +09:00
2022-10-29 09:34:21 +09:00
2022-10-29 09:34:21 +09:00
2014-04-26 18:40:24 +09:00
2022-10-29 09:34:21 +09:00
2022-10-29 09:34:21 +09:00
2022-10-29 09:34:21 +09:00
2014-04-26 18:40:24 +09:00