diff 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
line wrap: on
line diff
--- a/Plugins/Input/adplug/core/msc.cpp	Thu Feb 16 07:40:35 2006 -0800
+++ b/Plugins/Input/adplug/core/msc.cpp	Sat Feb 18 08:23:30 2006 -0800
@@ -225,7 +225,7 @@
 	blk = msc_data [block_num];
 	while (1) {
 		u8 	octet;		// decoded octet
-		u8	len_corr;	// length correction
+		u8	len_corr = 0;	// length correction
 		
 		// advance to next block if necessary
 		if (block_pos >= blk.mb_length && dec_len == 0) {