mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-09-07 03:39:08 +01:00
arm_interface: Make LogBacktrace() a const member function
This function doesn't modify instance state, so it can be made const.
This commit is contained in:
parent
776ce5d74c
commit
a17dd30057
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue