Jelajahi Sumber

make KCodeMemory::GetSourceAddress const

Co-authored-by: Mai M. <mathew1800@gmail.com>
itsmeft24 4 tahun lalu
induk
melakukan
d197246880
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/core/hle/kernel/k_code_memory.h

+ 1 - 1
src/core/hle/kernel/k_code_memory.h

@@ -46,7 +46,7 @@ public:
     KProcess* GetOwner() const {
     KProcess* GetOwner() const {
         return m_owner;
         return m_owner;
     }
     }
-    VAddr GetSourceAddress() {
+    VAddr GetSourceAddress() const {
         return m_address;
         return m_address;
     }
     }
     size_t GetSize() const {
     size_t GetSize() const {