summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-12-31 02:44:46 +0100
committerLioncash <mathew1800@gmail.com>2018-12-31 02:44:48 +0100
commita17dd300579ddb9a6e023454e05434aeec47a940 (patch)
treec71e0a89b948f47896ee54b8fa617cfe9d42a008
parentarm_interface: Mark variables as const where applicable in LogBacktrace() (diff)
downloadyuzu-a17dd300579ddb9a6e023454e05434aeec47a940.tar
yuzu-a17dd300579ddb9a6e023454e05434aeec47a940.tar.gz
yuzu-a17dd300579ddb9a6e023454e05434aeec47a940.tar.bz2
yuzu-a17dd300579ddb9a6e023454e05434aeec47a940.tar.lz
yuzu-a17dd300579ddb9a6e023454e05434aeec47a940.tar.xz
yuzu-a17dd300579ddb9a6e023454e05434aeec47a940.tar.zst
yuzu-a17dd300579ddb9a6e023454e05434aeec47a940.zip
-rw-r--r--src/core/arm/arm_interface.cpp2
-rw-r--r--src/core/arm/arm_interface.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cpp
index 8ab605d21..b0c9a5836 100644
--- a/src/core/arm/arm_interface.cpp
+++ b/src/core/arm/arm_interface.cpp
@@ -8,7 +8,7 @@
#include "core/memory.h"
namespace Core {
-void ARM_Interface::LogBacktrace() {
+void ARM_Interface::LogBacktrace() const {
VAddr fp = GetReg(29);
VAddr lr = GetReg(30);
const VAddr sp = GetReg(13);
diff --git a/src/core/arm/arm_interface.h b/src/core/arm/arm_interface.h
index 91d2b0f81..4dfd41b43 100644
--- a/src/core/arm/arm_interface.h
+++ b/src/core/arm/arm_interface.h
@@ -148,7 +148,7 @@ public:
/// Frame records are two words long:
/// fp+0 : pointer to previous frame record
/// fp+8 : value of lr for frame
- void LogBacktrace();
+ void LogBacktrace() const;
};
} // namespace Core