From 116d339b26f47bf83de8bc047984d0ae91e1d8c3 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Fri, 15 Jul 2011 12:31:43 -0500 Subject: [PATCH 1/3] add logging for helping debug a crash --- src/StatsManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/StatsManager.cpp b/src/StatsManager.cpp index cd572dbf5a..ade50e7b5a 100644 --- a/src/StatsManager.cpp +++ b/src/StatsManager.cpp @@ -242,10 +242,14 @@ void StatsManager::CommitStatsToProfiles( const StageStats *pSS ) pPlayerProfile->m_iNumTotalSongsPlayed += pSS->m_vpPlayedSongs.size(); } + LOG->Trace("Adding stats to machine profile..."); AddPlayerStatsToProfile( pMachineProfile, *pSS, pn ); if( pPlayerProfile ) + { + LOG->Trace("Adding stats to player profile..."); AddPlayerStatsToProfile( pPlayerProfile, *pSS, pn ); + } CHECKPOINT; } From e8cc566c8e638e93e5705232624359ea7dbe16c5 Mon Sep 17 00:00:00 2001 From: AJ Kelly Date: Fri, 15 Jul 2011 16:16:15 -0500 Subject: [PATCH 2/3] some cleanup --- src/ScreenOptionsToggleSongs.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ScreenOptionsToggleSongs.cpp b/src/ScreenOptionsToggleSongs.cpp index b5d79a4306..f3b42b6aed 100644 --- a/src/ScreenOptionsToggleSongs.cpp +++ b/src/ScreenOptionsToggleSongs.cpp @@ -11,7 +11,6 @@ // main page (group list) REGISTER_SCREEN_CLASS( ScreenOptionsToggleSongs ); -REGISTER_SCREEN_CLASS( ScreenOptionsToggleSongsSubPage ); void ScreenOptionsToggleSongs::BeginScreen() { @@ -49,8 +48,7 @@ void ScreenOptionsToggleSongs::ProcessMenuStart( const InputEventPlus &input ) // switch to the subpage with the specified group int iRow = GetCurrentRow(); - OptionRow &row = *m_pRows[iRow]; - if( row.GetRowType() == OptionRow::RowType_Exit ) + if( m_pRows[iRow]->GetRowType() == OptionRow::RowType_Exit ) { ScreenOptions::ProcessMenuStart( input ); return; @@ -70,6 +68,7 @@ void ScreenOptionsToggleSongs::ExportOptions( int row, const vector Date: Sat, 16 Jul 2011 02:18:16 -0500 Subject: [PATCH 3/3] this should be movies, not textures --- Themes/_fallback/Languages/en.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Themes/_fallback/Languages/en.ini b/Themes/_fallback/Languages/en.ini index 84f42d7af3..9f85bed459 100644 --- a/Themes/_fallback/Languages/en.ini +++ b/Themes/_fallback/Languages/en.ini @@ -372,7 +372,7 @@ MaxTextureResolution=Choose the maximum texture resolution. Setting this to any MenuTimer=When &oq;ON&cq;, menus have a time limit. Mines=Mines MoveRandomToEnd=Determines if courses with random songs should be placed at the end of the course select wheel. -MovieColorDepth=Choose the color depth of textures. 32 bit textures use more memory, but look nicer. +MovieColorDepth=Choose the color depth of movies. 32 bit textures use more memory, but look nicer. MusicWheelSwitchSpeed=Adjusts the speed of the music wheel. MusicWheelUsesSections=&oq;Always&cq; means sections in group + ABC; &oq;Never&cq; means no sections; &oq;Title Only&cq; shows sections in ABC order. Network Options=Connect to a server or change server options.