mirror of
				https://github.com/PabloMK7/citra.git
				synced 2025-10-31 05:40:04 +00:00 
			
		
		
		
	dyncom: Use VFP_FPSCR/VFP_FPEXC.
This commit is contained in:
		
							parent
							
								
									d532f6b496
								
							
						
					
					
						commit
						b7aef81cb4
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -111,8 +111,8 @@ void ARM_DynCom::SaveContext(Core::ThreadContext& ctx) { | |||
|     ctx.pc = state->Reg[15]; | ||||
|     ctx.cpsr = state->Cpsr; | ||||
| 
 | ||||
|     ctx.fpscr = state->VFP[1]; | ||||
|     ctx.fpexc = state->VFP[2]; | ||||
|     ctx.fpscr = state->VFP[VFP_FPSCR]; | ||||
|     ctx.fpexc = state->VFP[VFP_FPEXC]; | ||||
| } | ||||
| 
 | ||||
| void ARM_DynCom::LoadContext(const Core::ThreadContext& ctx) { | ||||
|  | @ -124,8 +124,8 @@ void ARM_DynCom::LoadContext(const Core::ThreadContext& ctx) { | |||
|     state->Reg[15] = ctx.pc; | ||||
|     state->Cpsr = ctx.cpsr; | ||||
| 
 | ||||
|     state->VFP[1] = ctx.fpscr; | ||||
|     state->VFP[2] = ctx.fpexc; | ||||
|     state->VFP[VFP_FPSCR] = ctx.fpscr; | ||||
|     state->VFP[VFP_FPEXC] = ctx.fpexc; | ||||
| } | ||||
| 
 | ||||
| void ARM_DynCom::PrepareReschedule() { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue