use regular images in grid deck view

i did search for psp-2000 and it has 64mb ram vs psp-1000 32mb ram. use
lowres images for psp to be safe.
This commit is contained in:
Anthony Calosa
2016-07-11 19:16:47 +08:00
parent 3c4f3146c4
commit ed871db1f3
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
#include "JLogger.h" #include "JLogger.h"
#include <sstream> #include <sstream>
#define HUGE_CACHE_LIMIT 20000000 // Size of the cache for Windows and Linux (in bytes) #define HUGE_CACHE_LIMIT 28000000 // Size of the cache for Windows and Linux (in bytes) - old value is 20mb increased to 28mb
#define SAMPLES_CACHE_SIZE 1500000 // Size in bytes of the cached samples #define SAMPLES_CACHE_SIZE 1500000 // Size in bytes of the cached samples
#define PSI_CACHE_SIZE 500000 // Size in bytes of the cached particles #define PSI_CACHE_SIZE 500000 // Size in bytes of the cached particles
#define TEXTURES_CACHE_MINSIZE 2000000 // Minimum size of the cache on the PSP. The program should complain if the cache ever gets smaller than this #define TEXTURES_CACHE_MINSIZE 2000000 // Minimum size of the cache on the PSP. The program should complain if the cache ever gets smaller than this
+4 -2
View File
@@ -123,9 +123,11 @@ void GridDeckView::Render()
{ {
if (WResourceManager::Instance()->IsThreaded()) if (WResourceManager::Instance()->IsThreaded())
{ {
WResourceManager::Instance()->RetrieveCard(mCards[i].card, RETRIEVE_THUMB); //WResourceManager::Instance()->RetrieveCard(mCards[i].card, RETRIEVE_THUMB);
WResourceManager::Instance()->RetrieveCard(mCards[i].card, RETRIEVE_NORMAL);
} }
renderCard(i, 255, true); //renderCard(i, 255, true);
renderCard(i, 255, false);//for psp, use lowres images if you can.
} }
else else
{ {