Mercurial > audlegacy
comparison Plugins/Input/adplug/core/msc.cpp @ 637:2b06eb5e472d trunk
[svn] Sync with upstream. Drop hardware OPL2/3 support, it throws warnings and is not used on most modern machines. Added var inits where GCC 4.0 thought it was a good idea.
| author | chainsaw |
|---|---|
| date | Sat, 18 Feb 2006 08:23:30 -0800 |
| parents | 15ca2ea93a30 |
| children | 6ad7eb96dd26 |
comparison
equal
deleted
inserted
replaced
| 636:aa6914ee37ab | 637:2b06eb5e472d |
|---|---|
| 223 return false; | 223 return false; |
| 224 | 224 |
| 225 blk = msc_data [block_num]; | 225 blk = msc_data [block_num]; |
| 226 while (1) { | 226 while (1) { |
| 227 u8 octet; // decoded octet | 227 u8 octet; // decoded octet |
| 228 u8 len_corr; // length correction | 228 u8 len_corr = 0; // length correction |
| 229 | 229 |
| 230 // advance to next block if necessary | 230 // advance to next block if necessary |
| 231 if (block_pos >= blk.mb_length && dec_len == 0) { | 231 if (block_pos >= blk.mb_length && dec_len == 0) { |
| 232 block_num++; | 232 block_num++; |
| 233 if (block_num >= nr_blocks) | 233 if (block_num >= nr_blocks) |
