| 
									
										
										
										
											2013-04-17 23:09:55 -04:00
										 |  |  | // Copyright 2013 Dolphin Emulator Project
 | 
					
						
							|  |  |  | // Licensed under GPLv2
 | 
					
						
							|  |  |  | // Refer to the license.txt file included.
 | 
					
						
							| 
									
										
										
										
											2008-12-08 05:30:24 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #include "Common.h"
 | 
					
						
							|  |  |  | #include "CPMemory.h"
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // CP state
 | 
					
						
							| 
									
										
										
										
											2009-03-08 01:19:33 +00:00
										 |  |  | u8 *cached_arraybases[16]; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-12-08 05:30:24 +00:00
										 |  |  | // STATE_TO_SAVE
 | 
					
						
							|  |  |  | u32 arraybases[16]; | 
					
						
							|  |  |  | u32 arraystrides[16]; | 
					
						
							|  |  |  | TMatrixIndexA MatrixIndexA; | 
					
						
							|  |  |  | TMatrixIndexB MatrixIndexB; | 
					
						
							|  |  |  | TVtxDesc g_VtxDesc; | 
					
						
							|  |  |  | // Most games only use the first VtxAttr and simply reconfigure it all the time as needed.
 | 
					
						
							|  |  |  | VAT g_VtxAttr[8]; |