Jeck - Please review: this makes minor changes to a lot of files, and major changes to the WCache flatten() function.

* Removed all calls to Release(JQuad*).
* Updated flatten(). Prior flatten was buggy beyond belief.
* Done some extensive testing, but if this causes more trouble than it fixes, we'll have to revert. It's too close to release time.
This commit is contained in:
wagic.jeck
2009-10-27 02:46:39 +00:00
parent 538248d979
commit fb7f48f26b
17 changed files with 114 additions and 121 deletions

View File

@@ -125,7 +125,7 @@ void GameStateDeckViewer::Start()
}
//Grab a texture in VRAM.
pspIconsTexture = resources.RetrieveTexture("iconspsp.png");
pspIconsTexture = resources.RetrieveTexture("iconspsp.png", RETRIEVE_LOCK);
char buf[512];
for (int i=0; i < 8; i++){
@@ -183,9 +183,6 @@ void GameStateDeckViewer::End()
SAFE_DELETE(menu);
resources.Release(pspIconsTexture);
for (int i=0; i < 8; i++){
resources.Release(pspIcons[i]);
}
SAFE_DELETE(myCollection);
SAFE_DELETE(myDeck);
SAFE_DELETE(pricelist);