Browse Source
Merge pull request #8586 from merryhime/KCodeMemory-override
KCodeMemory: Mark virtual methods as override
pull/15/merge
Morph
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
src/core/hle/kernel/k_code_memory.h
|
|
|
@ -30,19 +30,19 @@ public: |
|
|
|
explicit KCodeMemory(KernelCore& kernel_); |
|
|
|
|
|
|
|
Result Initialize(Core::DeviceMemory& device_memory, VAddr address, size_t size); |
|
|
|
void Finalize(); |
|
|
|
void Finalize() override; |
|
|
|
|
|
|
|
Result Map(VAddr address, size_t size); |
|
|
|
Result Unmap(VAddr address, size_t size); |
|
|
|
Result MapToOwner(VAddr address, size_t size, Svc::MemoryPermission perm); |
|
|
|
Result UnmapFromOwner(VAddr address, size_t size); |
|
|
|
|
|
|
|
bool IsInitialized() const { |
|
|
|
bool IsInitialized() const override { |
|
|
|
return m_is_initialized; |
|
|
|
} |
|
|
|
static void PostDestroy([[maybe_unused]] uintptr_t arg) {} |
|
|
|
|
|
|
|
KProcess* GetOwner() const { |
|
|
|
KProcess* GetOwner() const override { |
|
|
|
return m_owner; |
|
|
|
} |
|
|
|
VAddr GetSourceAddress() const { |
|
|
|
|