summaryrefslogtreecommitdiff
path: root/src/core/arm/arm_interface.h
diff options
context:
space:
mode:
authorGravatar LC2020-10-20 22:08:53 -0400
committerGravatar GitHub2020-10-20 22:08:53 -0400
commit2e74b79e89fe1e6a21fe0d8650844e563b3c32f5 (patch)
tree0dbc65ac86e609ae22087c7be9d4759ac6b73004 /src/core/arm/arm_interface.h
parentkernel: Fix build with recent compiler flag changes (diff)
parentRevert "core: Fix clang build" (diff)
downloadyuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.gz
yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.tar.xz
yuzu-2e74b79e89fe1e6a21fe0d8650844e563b3c32f5.zip
Merge pull request #4814 from yuzu-emu/revert-4796-clang
Revert "core: Fix clang build"
Diffstat (limited to 'src/core/arm/arm_interface.h')
-rw-r--r--src/core/arm/arm_interface.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index 9b86247e2..1f24051e4 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -93,14 +93,14 @@ public:
93 * @param index Register index 93 * @param index Register index
94 * @return Returns the value in the register 94 * @return Returns the value in the register
95 */ 95 */
96 virtual u64 GetReg(std::size_t index) const = 0; 96 virtual u64 GetReg(int index) const = 0;
97 97
98 /** 98 /**
99 * Set an ARM register 99 * Set an ARM register
100 * @param index Register index 100 * @param index Register index
101 * @param value Value to set register to 101 * @param value Value to set register to
102 */ 102 */
103 virtual void SetReg(std::size_t index, u64 value) = 0; 103 virtual void SetReg(int index, u64 value) = 0;
104 104
105 /** 105 /**
106 * Gets the value of a specified vector register. 106 * Gets the value of a specified vector register.
@@ -108,7 +108,7 @@ public:
108 * @param index The index of the vector register. 108 * @param index The index of the vector register.
109 * @return the value within the vector register. 109 * @return the value within the vector register.
110 */ 110 */
111 virtual u128 GetVectorReg(std::size_t index) const = 0; 111 virtual u128 GetVectorReg(int index) const = 0;
112 112
113 /** 113 /**
114 * Sets a given value into a vector register. 114 * Sets a given value into a vector register.
@@ -116,7 +116,7 @@ public:
116 * @param index The index of the vector register. 116 * @param index The index of the vector register.
117 * @param value The new value to place in the register. 117 * @param value The new value to place in the register.
118 */ 118 */
119 virtual void SetVectorReg(std::size_t index, u128 value) = 0; 119 virtual void SetVectorReg(int index, u128 value) = 0;
120 120
121 /** 121 /**
122 * Get the current PSTATE register 122 * Get the current PSTATE register