mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	GPU debugger: Const correctness and build fix.
This commit is contained in:
		
							parent
							
								
									b919158050
								
							
						
					
					
						commit
						c34ba38001
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -20,9 +20,9 @@ public: | |||
|     // A vector of commands represented by their raw byte sequence
 | ||||
|     struct PicaCommand : public std::vector<u32> | ||||
|     { | ||||
|         Pica::CommandHeader& GetHeader() | ||||
|         const Pica::CommandHeader& GetHeader() const | ||||
|         { | ||||
|             u32& val = at(1); | ||||
|             const u32& val = at(1); | ||||
|             return *(Pica::CommandHeader*)&val; | ||||
|         } | ||||
|     }; | ||||
|  | @ -64,7 +64,7 @@ public: | |||
|         } | ||||
| 
 | ||||
|     protected: | ||||
|         GraphicsDebugger* GetDebugger() | ||||
|         const GraphicsDebugger* GetDebugger() const | ||||
|         { | ||||
|             return observed; | ||||
|         } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue