/[pcsx2_0.9.7]/trunk/pcsx2/IPU/mpeg2lib/Mpeg.cpp
ViewVC logotype

Diff of /trunk/pcsx2/IPU/mpeg2lib/Mpeg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/pcsx2/IPU/mpeg2lib/Mpeg.cpp	2010/09/20 05:35:51	191
+++ trunk/pcsx2/IPU/mpeg2lib/Mpeg.cpp	2010/11/12 01:10:22	273
@@ -688,7 +688,7 @@
 	coded_block_pattern = decoder.coded_block_pattern;
 }
 
-bool mpeg2sliceIDEC()
+__fi bool mpeg2sliceIDEC()
 {
 	u16 code;
 
@@ -699,7 +699,6 @@
 		decoder.dc_dct_pred[1] =
 		decoder.dc_dct_pred[2] = 128 << decoder.intra_dc_precision;
 
-		decoder.mbc = 0;
 		ipuRegs.top = 0;
 		ipuRegs.ctrl.ECD = 0;
 
@@ -818,7 +817,6 @@
 					return false;
 				}
 
-				decoder.mbc++;
 				mbaCount = 0;
 			}
 			
@@ -867,8 +865,6 @@
 					decoder.dc_dct_pred[0] =
 					decoder.dc_dct_pred[1] =
 					decoder.dc_dct_pred[2] = 128 << decoder.intra_dc_precision;
-
-					decoder.mbc += mbaCount;
 				}
 
 			case 4:
@@ -922,7 +918,7 @@
 	return true;
 }
 
-bool mpeg2_slice()
+__fi bool mpeg2_slice()
 {
 	int DCT_offset, DCT_stride;
 
@@ -1110,7 +1106,6 @@
 		ipuRegs.ctrl.SCD = 0;
 		coded_block_pattern = decoder.coded_block_pattern;
 
-		decoder.mbc = 1;
 		decoder.SetOutputTo(mb16);
 
 	case 3:
@@ -1127,7 +1122,6 @@
 			return false;
 		}
 
-		decoder.mbc++;
 		mbaCount = 0;
 	}
 	

 

  ViewVC Help
Powered by ViewVC 1.1.22