forked from eden-emu/eden
		
	Debugger fix
This commit is contained in:
		
							parent
							
								
									b9da0f7902
								
							
						
					
					
						commit
						0a3b4b8cb4
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -70,9 +70,9 @@ void VertexLoader::LoadVertex(u32 base_address, int index, int vertex, Shader::I | ||||||
|             u32 source_addr = base_address + vertex_attribute_sources[i] + vertex_attribute_strides[i] * vertex; |             u32 source_addr = base_address + vertex_attribute_sources[i] + vertex_attribute_strides[i] * vertex; | ||||||
| 
 | 
 | ||||||
|             if (g_debug_context && Pica::g_debug_context->recorder) { |             if (g_debug_context && Pica::g_debug_context->recorder) { | ||||||
|                 memory_accesses.AddAccess(source_addr, |                 memory_accesses.AddAccess(source_addr, vertex_attribute_elements[i] * ( | ||||||
|                     (vertex_attribute_formats[i] == Regs::VertexAttributeFormat::FLOAT) ? 4 |                     (vertex_attribute_formats[i] == Regs::VertexAttributeFormat::FLOAT) ? 4 | ||||||
|                     : (vertex_attribute_formats[i] == Regs::VertexAttributeFormat::SHORT) ? 2 : 1); |                     : (vertex_attribute_formats[i] == Regs::VertexAttributeFormat::SHORT) ? 2 : 1)); | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             switch (vertex_attribute_formats[i]) { |             switch (vertex_attribute_formats[i]) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Henrik Rydgard
						Henrik Rydgard