diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/k_code_memory.h | 6 | ||||
| -rw-r--r-- | src/core/hle/service/nvflinger/binder.h | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_code_memory.h b/src/core/hle/kernel/k_code_memory.h index 2410f74a3..2e7e1436a 100644 --- a/src/core/hle/kernel/k_code_memory.h +++ b/src/core/hle/kernel/k_code_memory.h | |||
| @@ -30,19 +30,19 @@ public: | |||
| 30 | explicit KCodeMemory(KernelCore& kernel_); | 30 | explicit KCodeMemory(KernelCore& kernel_); |
| 31 | 31 | ||
| 32 | Result Initialize(Core::DeviceMemory& device_memory, VAddr address, size_t size); | 32 | Result Initialize(Core::DeviceMemory& device_memory, VAddr address, size_t size); |
| 33 | void Finalize(); | 33 | void Finalize() override; |
| 34 | 34 | ||
| 35 | Result Map(VAddr address, size_t size); | 35 | Result Map(VAddr address, size_t size); |
| 36 | Result Unmap(VAddr address, size_t size); | 36 | Result Unmap(VAddr address, size_t size); |
| 37 | Result MapToOwner(VAddr address, size_t size, Svc::MemoryPermission perm); | 37 | Result MapToOwner(VAddr address, size_t size, Svc::MemoryPermission perm); |
| 38 | Result UnmapFromOwner(VAddr address, size_t size); | 38 | Result UnmapFromOwner(VAddr address, size_t size); |
| 39 | 39 | ||
| 40 | bool IsInitialized() const { | 40 | bool IsInitialized() const override { |
| 41 | return m_is_initialized; | 41 | return m_is_initialized; |
| 42 | } | 42 | } |
| 43 | static void PostDestroy([[maybe_unused]] uintptr_t arg) {} | 43 | static void PostDestroy([[maybe_unused]] uintptr_t arg) {} |
| 44 | 44 | ||
| 45 | KProcess* GetOwner() const { | 45 | KProcess* GetOwner() const override { |
| 46 | return m_owner; | 46 | return m_owner; |
| 47 | } | 47 | } |
| 48 | VAddr GetSourceAddress() const { | 48 | VAddr GetSourceAddress() const { |
diff --git a/src/core/hle/service/nvflinger/binder.h b/src/core/hle/service/nvflinger/binder.h index 21aaa40cd..157333ff8 100644 --- a/src/core/hle/service/nvflinger/binder.h +++ b/src/core/hle/service/nvflinger/binder.h | |||
| @@ -34,6 +34,7 @@ enum class TransactionId { | |||
| 34 | 34 | ||
| 35 | class IBinder { | 35 | class IBinder { |
| 36 | public: | 36 | public: |
| 37 | virtual ~IBinder() = default; | ||
| 37 | virtual void Transact(Kernel::HLERequestContext& ctx, android::TransactionId code, | 38 | virtual void Transact(Kernel::HLERequestContext& ctx, android::TransactionId code, |
| 38 | u32 flags) = 0; | 39 | u32 flags) = 0; |
| 39 | virtual Kernel::KReadableEvent& GetNativeHandle() = 0; | 40 | virtual Kernel::KReadableEvent& GetNativeHandle() = 0; |