mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-30 21:30:04 +00:00 
			
		
		
		
	added g_app_core->Step and HW::Update to Core::SingleStep to be consistent with other changes made
This commit is contained in:
		
							parent
							
								
									ed15feebf1
								
							
						
					
					
						commit
						e022717477
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		|  | @ -25,6 +25,7 @@ | ||||||
| #include "log.h" | #include "log.h" | ||||||
| #include "core.h" | #include "core.h" | ||||||
| #include "mem_map.h" | #include "mem_map.h" | ||||||
|  | #include "hw/hw.h" | ||||||
| #include "arm/disassembler/arm_disasm.h" | #include "arm/disassembler/arm_disasm.h" | ||||||
| #include "arm/interpreter/arm_interpreter.h" | #include "arm/interpreter/arm_interpreter.h" | ||||||
| 
 | 
 | ||||||
|  | @ -41,7 +42,8 @@ void RunLoop() { | ||||||
| 
 | 
 | ||||||
| /// Step the CPU one instruction
 | /// Step the CPU one instruction
 | ||||||
| void SingleStep() { | void SingleStep() { | ||||||
|     g_app_core->ExecuteInstruction(); |     g_app_core->Step(); | ||||||
|  |     HW::Update(); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| /// Halt the core
 | /// Halt the core
 | ||||||
|  | @ -69,6 +71,8 @@ void Shutdown() { | ||||||
|     delete g_disasm; |     delete g_disasm; | ||||||
|     delete g_app_core; |     delete g_app_core; | ||||||
|     delete g_sys_core; |     delete g_sys_core; | ||||||
|  | 
 | ||||||
|  |     NOTICE_LOG(MASTER_LOG, "Core shutdown OK"); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| } // namespace
 | } // namespace
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue