mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-23 12:01:20 -08:00
Merge pull request #8586 from merryhime/KCodeMemory-override
KCodeMemory: Mark virtual methods as override
This commit is contained in:
commit
037ce7cb5f
@ -30,19 +30,19 @@ public:
|
|||||||
explicit KCodeMemory(KernelCore& kernel_);
|
explicit KCodeMemory(KernelCore& kernel_);
|
||||||
|
|
||||||
Result Initialize(Core::DeviceMemory& device_memory, VAddr address, size_t size);
|
Result Initialize(Core::DeviceMemory& device_memory, VAddr address, size_t size);
|
||||||
void Finalize();
|
void Finalize() override;
|
||||||
|
|
||||||
Result Map(VAddr address, size_t size);
|
Result Map(VAddr address, size_t size);
|
||||||
Result Unmap(VAddr address, size_t size);
|
Result Unmap(VAddr address, size_t size);
|
||||||
Result MapToOwner(VAddr address, size_t size, Svc::MemoryPermission perm);
|
Result MapToOwner(VAddr address, size_t size, Svc::MemoryPermission perm);
|
||||||
Result UnmapFromOwner(VAddr address, size_t size);
|
Result UnmapFromOwner(VAddr address, size_t size);
|
||||||
|
|
||||||
bool IsInitialized() const {
|
bool IsInitialized() const override {
|
||||||
return m_is_initialized;
|
return m_is_initialized;
|
||||||
}
|
}
|
||||||
static void PostDestroy([[maybe_unused]] uintptr_t arg) {}
|
static void PostDestroy([[maybe_unused]] uintptr_t arg) {}
|
||||||
|
|
||||||
KProcess* GetOwner() const {
|
KProcess* GetOwner() const override {
|
||||||
return m_owner;
|
return m_owner;
|
||||||
}
|
}
|
||||||
VAddr GetSourceAddress() const {
|
VAddr GetSourceAddress() const {
|
||||||
|
Loading…
Reference in New Issue
Block a user