diff options
author | Lioncash <mathew1800@gmail.com> | 2018-12-31 02:44:46 +0100 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-12-31 02:44:48 +0100 |
commit | a17dd300579ddb9a6e023454e05434aeec47a940 (patch) | |
tree | c71e0a89b948f47896ee54b8fa617cfe9d42a008 /src/core/arm | |
parent | arm_interface: Mark variables as const where applicable in LogBacktrace() (diff) | |
download | yuzu-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 |
Diffstat (limited to 'src/core/arm')
-rw-r--r-- | src/core/arm/arm_interface.cpp | 2 | ||||
-rw-r--r-- | src/core/arm/arm_interface.h | 2 |
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 |