Erwan
- fixed a few memory leaks (but Wagic still crashes on the PSP after a few games :( )
This commit is contained in:
@@ -221,7 +221,7 @@ void GameApp::Update()
|
||||
if (mNextState != NULL)
|
||||
{
|
||||
if (mCurrentState != NULL)
|
||||
mCurrentState->End();
|
||||
mCurrentState->End();
|
||||
|
||||
mCurrentState = mNextState;
|
||||
mCurrentState->Start();
|
||||
|
||||
Reference in New Issue
Block a user