diff --git a/graphics.c b/graphics.c index d6ba5c1..5252cd8 100644 --- a/graphics.c +++ b/graphics.c @@ -22,7 +22,7 @@ static inline void unigi_platform_color_16_to_32(unigi_type_color color, uint8_t } unigi_type_error unigi_window_create(unigi_type_resolution resolution, char * title) { - #ifndef __PS2__ + #ifndef _EE // if not PS2 SDL_SetHint(SDL_HINT_FRAMEBUFFER_ACCELERATION,"0"); #endif unigi_platform_window = SDL_CreateWindow(title,SDL_WINDOWPOS_CENTERED,SDL_WINDOWPOS_CENTERED,resolution.width,resolution.height,0); @@ -51,7 +51,7 @@ unigi_type_error unigi_window_create(unigi_type_resolution resolution, char * ti color = 0; while (color < 4096) { unigi_platform_color_16_to_32(color,&r,&r,&g,&b); - #ifndef __PS2__ + #ifndef _EE // if not PS2 color_platform = SDL_MapRGBA(unigi_platform_surface->format,r,g,b,255); #else color_platform = SDL_MapRGBA(unigi_platform_surface->format,r/2,g/2,b/2,255);