Commit 0ecbf29c authored by fjtrujy's avatar fjtrujy
Browse files

Apply color correction ps2

parent dad52d60
......@@ -180,7 +180,7 @@ else ifeq ($(platform), ps2)
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
CC = ee-gcc$(EXE_EXT)
AR = ee-ar$(EXE_EXT)
PLATFORM_DEFINES := -DPS2 -G0
PLATFORM_DEFINES := -DPS2 -G0 -DABGR8888
STATIC_LINKING = 1
# PSP
......
......@@ -35,7 +35,11 @@ typedef struct ctx_t
ctx_t nullctx={0,0,0};
#define PITCH 4
#if defined(ABGR8888)
#define RGB32(r, g, b,a) ( (a)<<24 |((b) << (16)) | ((g) << 8) | ((r) << 0))
#else
#define RGB32(r, g, b,a) ( (a)<<24 |((r) << (16)) | ((g) << 8) | ((b) << 0))
#endif
#define nullctx_fontsize(a) nullctx.fontsize_x=nullctx.fontsize_y=a
int VIRTUAL_WIDTH;
......
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