Commit 57f9f112 authored by phcoder's avatar phcoder
Browse files

Prefer RGB565 on PSP

parent f263a65d
......@@ -255,10 +255,15 @@ extern "C"
screen16 = NULL;
screen32 = NULL;
if (!tryScreen32() && !tryScreen16()) {
env.logger(retro_log_level::RETRO_LOG_ERROR, "Couldn't find compatible pixel format\n");
return false;
}
#ifdef USE_RGB565
if (!tryScreen16() && !tryScreen32())
#else
if (!tryScreen32() && !tryScreen16())
#endif
{
env.logger(retro_log_level::RETRO_LOG_ERROR, "Couldn't find compatible pixel format\n");
return false;
}
return true;
}
......
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