add logging to find out why we hit strange NoteType assert when writing a DWI
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user