Add Ps2 Support

This commit is contained in:
Francisco Javier Trujillo Mata
2021-02-07 21:03:24 +01:00
parent 2f077a6e3a
commit c684af3563
6 changed files with 99 additions and 3 deletions
+4
View File
@@ -59,8 +59,12 @@ extern int pauseg;
#ifndef RENDER16B
#define RGB565(r, g, b) (((r) << (5+16)) | ((g) << (5+8)) | (b<<5))
#else
#if defined(ABGR1555)
#define RGB565(r, g, b) (((b) << (10)) | ((g) << 5) | (r))
#else
#define RGB565(r, g, b) (((r) << (5+6)) | ((g) << 6) | (b))
#endif
#endif
#define uint32 unsigned int
#define uint8 unsigned char
#endif