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:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user