Merge pull request #776 from kevlahnota/master

psp fix 3
This commit is contained in:
Anthony Calosa
2016-07-21 02:37:47 -05:00
committed by GitHub
5 changed files with 7 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

View File

@@ -11,7 +11,7 @@
#include <sstream>
#if defined (PSP)
#define HUGE_CACHE_LIMIT 20000000 // Size of the cache for PSP (in bytes) - old value is 20mb - reverted
#define HUGE_CACHE_LIMIT 25000000 // Size of the cache for PSP (in bytes) - old value is 20mb - reverted
#else
#define HUGE_CACHE_LIMIT 60000000 // Size of the cache for Windows and Linux (in bytes) - old value is 20mb increased to 60mb
#endif

View File

@@ -151,7 +151,10 @@ void DeckMenu::RenderBackground()
bgFilename << backgroundName << ".png";
#if defined (PSP)
bgFilename << "psppspdeckmenu.png";
if(backgroundName == "menubgdeckeditor")
bgFilename << "pspmenubgdeckeditor.jpg";
else
bgFilename << "pspdeckmenu.png";
#endif
static bool loadBackground = true;

View File

@@ -842,12 +842,13 @@ void ResourceManagerImpl::InitFonts(const std::string& inLang)
LoadWFont("pspsimon", 11, Fonts::MAIN_FONT + idOffset);
GetWFont(Fonts::MAIN_FONT)->SetTracking(-1);
LoadWFont("pspf3", 16, Fonts::MENU_FONT + idOffset);
LoadWFont("pspmagic", 16, Fonts::MAGIC_FONT + idOffset);
#else
LoadWFont("simon", 11, Fonts::MAIN_FONT + idOffset);
GetWFont(Fonts::MAIN_FONT)->SetTracking(-1);
LoadWFont("f3", 16, Fonts::MENU_FONT + idOffset);
#endif
LoadWFont("magic", 16, Fonts::MAGIC_FONT + idOffset);
#endif
LoadWFont("smallface", 7, Fonts::SMALLFACE_FONT + idOffset);
}