add logging to find out why we hit strange NoteType assert when writing a DWI

This commit is contained in:
Chris Danford
2003-12-04 07:47:23 +00:00
parent f342819acc
commit 78c96b7cad
+3 -3
View File
@@ -214,9 +214,6 @@ void NotesWriterDWI::WriteDWINotesField( FILE* fp, const Steps &out, int start )
fprintf( fp, "{" );
fCurrentIncrementer = 1.0/64 * BEATS_PER_MEASURE;
break;
default:
ASSERT(0);
// fall though
case NOTE_TYPE_48TH:
case NOTE_TYPE_192ND:
case NOTE_TYPE_INVALID:
@@ -225,6 +222,9 @@ void NotesWriterDWI::WriteDWINotesField( FILE* fp, const Steps &out, int start )
fprintf( fp, "`" );
fCurrentIncrementer = 1.0/192 * BEATS_PER_MEASURE;
break;
default:
RAGE_ASSERT_M(0, ssprintf("nt = %d",nt) );
break;
}
double fFirstBeatInMeasure = m * BEATS_PER_MEASURE;