mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-18 15:07:59 -05:00
arm: Move headers over to pragma once
This commit is contained in:
@ -16,8 +16,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef __ARM_DYNCOM_RUN__
|
||||
#define __ARM_DYNCOM_RUN__
|
||||
#pragma once
|
||||
|
||||
void switch_mode(arm_core_t *core, uint32_t mode);
|
||||
|
||||
@ -49,5 +48,3 @@ static inline addr_t CHECK_READ_REG15_WA(arm_core_t* core, int Rn) {
|
||||
static inline u32 CHECK_READ_REG15(arm_core_t* core, int Rn) {
|
||||
return (Rn == 15)? ((core->Reg[15] & ~0x1) + GET_INST_SIZE(core) * 2) : core->Reg[Rn];
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -24,8 +24,7 @@
|
||||
* @date 2011-11-07
|
||||
*/
|
||||
|
||||
#ifndef __ARM_DYNCOM_THUMB_H__
|
||||
#define __ARM_DYNCOM_THUMB_H__
|
||||
#pragma once
|
||||
|
||||
#include "core/arm/skyeye_common/armdefs.h"
|
||||
|
||||
@ -46,5 +45,3 @@ static inline u32 get_thumb_instr(u32 instr, addr_t pc) {
|
||||
tinstr = instr & 0xFFFF;
|
||||
return tinstr;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user