mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	Apply suggestions from code review
Co-Authored-By: Pengfei Zhu <zhupf321@gmail.com>
This commit is contained in:
		
							parent
							
								
									4aab38f133
								
							
						
					
					
						commit
						bbf8e876ab
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -5,7 +5,7 @@ | |||
| #pragma once | ||||
| 
 | ||||
| #include <array> | ||||
| #include "boost/serialization/split_member.hpp" | ||||
| #include <boost/serialization/split_member.hpp> | ||||
| #include "common/bit_field.h" | ||||
| #include "common/common_types.h" | ||||
| #include "common/vector_math.h" | ||||
|  | @ -239,7 +239,7 @@ private: | |||
|     void load(Archive& ar, const unsigned int file_version) { | ||||
|         u32 offset{}; | ||||
|         ar >> offset; | ||||
|         cmd_list.head_ptr = (u32*)VideoCore::g_memory->GetPhysicalPointer(cmd_list.addr); | ||||
|         cmd_list.head_ptr = reinterpret_cast<u32*>(VideoCore::g_memory->GetPhysicalPointer(cmd_list.addr)); | ||||
|         cmd_list.current_ptr = cmd_list.head_ptr + offset; | ||||
|     } | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue