diff options
| author | 2015-04-27 21:59:06 -0400 | |
|---|---|---|
| committer | 2015-05-01 18:27:01 -0400 | |
| commit | bbabed8e98e573df5a566aa44f6a05147167b2a7 (patch) | |
| tree | 4b3888a936bd38929815d56a93aa957c569f806b /src/core/mem_map.h | |
| parent | Qt: Create emu thread on bootup, kill it on shutdown. (diff) | |
| download | yuzu-bbabed8e98e573df5a566aa44f6a05147167b2a7.tar.gz yuzu-bbabed8e98e573df5a566aa44f6a05147167b2a7.tar.xz yuzu-bbabed8e98e573df5a566aa44f6a05147167b2a7.zip | |
Memory: Properly cleanup & shutdown.
Diffstat (limited to 'src/core/mem_map.h')
| -rw-r--r-- | src/core/mem_map.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/mem_map.h b/src/core/mem_map.h index ff730593e..1af02973b 100644 --- a/src/core/mem_map.h +++ b/src/core/mem_map.h | |||
| @@ -171,6 +171,12 @@ u32 MapBlock_Heap(u32 size, u32 operation, u32 permissions); | |||
| 171 | */ | 171 | */ |
| 172 | u32 MapBlock_HeapLinear(u32 size, u32 operation, u32 permissions); | 172 | u32 MapBlock_HeapLinear(u32 size, u32 operation, u32 permissions); |
| 173 | 173 | ||
| 174 | /// Initialize mapped memory blocks | ||
| 175 | void MemBlock_Init(); | ||
| 176 | |||
| 177 | /// Shutdown mapped memory blocks | ||
| 178 | void MemBlock_Shutdown(); | ||
| 179 | |||
| 174 | inline const char* GetCharPointer(const VAddr address) { | 180 | inline const char* GetCharPointer(const VAddr address) { |
| 175 | return (const char *)GetPointer(address); | 181 | return (const char *)GetPointer(address); |
| 176 | } | 182 | } |