mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-11-12 18:22:56 +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:
1 parent
fc4f95104d
commit
9dcdcdbc01
2 files changed
+2
-2
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user