mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-08 13:19:57 +00:00
Merge pull request #434 from lioncash/vdtor
memory_hook: Default virtual destructor in the cpp file
This commit is contained in:
commit
9eccb5de9d
3 changed files with 13 additions and 1 deletions
|
@ -253,6 +253,7 @@ add_library(core STATIC
|
||||||
loader/nso.h
|
loader/nso.h
|
||||||
memory.cpp
|
memory.cpp
|
||||||
memory.h
|
memory.h
|
||||||
|
memory_hook.cpp
|
||||||
memory_hook.h
|
memory_hook.h
|
||||||
memory_setup.h
|
memory_setup.h
|
||||||
perf_stats.cpp
|
perf_stats.cpp
|
||||||
|
|
11
src/core/memory_hook.cpp
Normal file
11
src/core/memory_hook.cpp
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
// Copyright 2018 Citra Emulator Project
|
||||||
|
// Licensed under GPLv2 or any later version
|
||||||
|
// Refer to the license.txt file included.
|
||||||
|
|
||||||
|
#include "core/memory_hook.h"
|
||||||
|
|
||||||
|
namespace Memory {
|
||||||
|
|
||||||
|
MemoryHook::~MemoryHook() = default;
|
||||||
|
|
||||||
|
} // namespace Memory
|
|
@ -23,7 +23,7 @@ namespace Memory {
|
||||||
*/
|
*/
|
||||||
class MemoryHook {
|
class MemoryHook {
|
||||||
public:
|
public:
|
||||||
virtual ~MemoryHook() = default;
|
virtual ~MemoryHook();
|
||||||
|
|
||||||
virtual boost::optional<bool> IsValidAddress(VAddr addr) = 0;
|
virtual boost::optional<bool> IsValidAddress(VAddr addr) = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue