Qt: Remove renaming of 'lowmem' zim so that it can be loaded externally as well. Update version.

This commit is contained in:
Sacha 2013-12-20 01:30:39 +10:00
parent 1d7a28ff27
commit af1c326617
5 changed files with 8 additions and 4 deletions

View File

@ -462,7 +462,7 @@ void NativeInitGraphics()
UIInit(&ui_atlas, theme);
uiTexture = new Texture();
if (!uiTexture->Load("ui_atlas.zim"))
if (!uiTexture->Load("ui_atlas_lowmem.zim"))
{
qDebug() << "Failed to load texture";
}

View File

@ -1,4 +1,4 @@
VERSION = 0.9.5
VERSION = 0.9.6
DEFINES += USING_QT_UI USE_FFMPEG
unix:!qnx:!symbian:!mac: CONFIG += linux

View File

@ -1,6 +1,6 @@
<RCC>
<qresource prefix="/">
<file alias="assets/ui_atlas.zim">../assets/ui_atlas_lowmem.zim</file>
<file alias="assets/ui_atlas_lowmem.zim">../assets/ui_atlas_lowmem.zim</file>
<file alias="assets/ppge_atlas.zim">../assets/ppge_atlas.zim</file>
<file alias="assets/lang">../lang</file>
<file alias="assets/langregion.ini">../assets/langregion.ini</file>

View File

@ -1,6 +1,6 @@
<RCC>
<qresource prefix="/">
<file alias="assets/ui_atlas.zim">../assets/ui_atlas_lowmem.zim</file>
<file alias="assets/ui_atlas_lowmem.zim">../assets/ui_atlas_lowmem.zim</file>
<file alias="assets/ppge_atlas.zim">../assets/ppge_atlas.zim</file>
<file alias="assets/lang">../lang</file>
<file alias="assets/langregion.ini">../assets/langregion.ini</file>

View File

@ -470,7 +470,11 @@ void NativeInitGraphics() {
ui_draw2d_front.Init();
uiTexture = new Texture();
#ifdef USING_QT_UI
if (!uiTexture->Load("ui_atlas_lowmem.zim")) {
#else
if (!uiTexture->Load("ui_atlas.zim")) {
#endif
PanicAlert("Failed to load ui_atlas.zim.\n\nPlace it in the directory \"assets\" under your PPSSPP directory.");
ELOG("Failed to load ui_atlas.zim");
}