Added several ifdef PSP for different resolution image to merge the graphics folders.

This commit is contained in:
valfieri
2019-09-11 18:39:42 +02:00
parent ba918b27ee
commit 6fd6f9061c
13 changed files with 105 additions and 5 deletions

View File

@@ -385,7 +385,11 @@ void TaskList::Start()
if (!mBgTex)
{
#if defined (PSP)
mBgTex = WResourceManager::Instance()->RetrieveTexture("psptaskboard.png", RETRIEVE_LOCK);
#else
mBgTex = WResourceManager::Instance()->RetrieveTexture("taskboard.png", RETRIEVE_LOCK);
#endif
float unitH = static_cast<float> (mBgTex->mHeight / 4);
float unitW = static_cast<float> (mBgTex->mWidth / 4);
if (unitH == 0 || unitW == 0) return;