mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 13:50:03 +00:00 
			
		
		
		
	Add Core::GetState() for debugger
This commit is contained in:
		
							parent
							
								
									20bf361b95
								
							
						
					
					
						commit
						564e3f5032
					
				
					 2 changed files with 9 additions and 0 deletions
				
			
		|  | @ -143,6 +143,11 @@ int Init() { | |||
|     return 0; | ||||
| } | ||||
| 
 | ||||
| ARMul_State* GetState() | ||||
| { | ||||
|     return core->state; | ||||
| } | ||||
| 
 | ||||
| void Shutdown() { | ||||
|     //delete g_arm_state;
 | ||||
|     //g_arm_state = NULL;
 | ||||
|  |  | |||
|  | @ -25,6 +25,8 @@ | |||
| #ifndef CORE_CORE_H_ | ||||
| #define CORE_CORE_H_ | ||||
| 
 | ||||
| #include "arm/armdefs.h" | ||||
| 
 | ||||
| ////////////////////////////////////////////////////////////////////////////////////////////////////
 | ||||
| 
 | ||||
| namespace Core { | ||||
|  | @ -47,6 +49,8 @@ void Stop(); | |||
| /// Initialize the core
 | ||||
| int Init(); | ||||
| 
 | ||||
| ARMul_State* GetState(); | ||||
| 
 | ||||
| } // namespace
 | ||||
| 
 | ||||
| ////////////////////////////////////////////////////////////////////////////////////////////////////
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue