Update draw.c

This commit is contained in:
TuxSH 2016-08-20 19:59:25 +02:00 committed by GitHub
parent a302ad3bea
commit ef1ecf859c

View File

@ -43,7 +43,7 @@ static inline int strlen(const char *string)
bool loadSplash(void) bool loadSplash(void)
{ {
//Don't delay boot nor init the screens if no splash image is on the SD //Don't delay boot nor init the screens if no splash image is on the SD
if(getFileSize("/luma/splash.bin") + getFileSize("/luma/splash.bin") == 0) if(getFileSize("/luma/splash.bin") + getFileSize("/luma/splashbottom.bin") == 0)
return false; return false;
initScreens(); initScreens();
@ -98,4 +98,4 @@ int drawString(const char *string, int posX, int posY, u32 color)
} }
return posY; return posY;
} }