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