Completed Routes3 music data channel 2

hg-commit-id: ef99ba55bb1b
This commit is contained in:
KuroiIeWa5Da 2012-01-23 04:33:56 -06:00
parent 1014adc83c
commit 6a85dc48e1
2 changed files with 124 additions and 2 deletions

View file

@ -114,7 +114,6 @@ void Parser::ParseNext() // Parses the block immidiately following
for(unsigned int i = filePos; (i <= fileLength) && (stop == false); i++)
{
// There's a way to make this block shorter but for now it does it's job
filePos = i;
// Check to see if it's the correct data type and if so then use it
if(tmpCall.IsValid(&rawBytesFixed[i])) // Should have made IsValid static
@ -204,6 +203,8 @@ void Parser::ParseNext() // Parses the block immidiately following
parsedString.push_back(unkCode.str());
}
filePos = i;
// If the stop address parameter is set, break when we get there
if( (stopAddress != 0) && (i >= stopAddress) ) break;
}