diff options
| author | 2023-05-23 01:18:55 -0400 | |
|---|---|---|
| committer | 2023-05-23 09:15:16 -0400 | |
| commit | 5e3b3c6643817a8174823910886f9df162ff368d (patch) | |
| tree | 623b7aa54eab3229456dc1412eea1820d3c039bb /src | |
| parent | Merge pull request #10386 from german77/high (diff) | |
| download | yuzu-5e3b3c6643817a8174823910886f9df162ff368d.tar.gz yuzu-5e3b3c6643817a8174823910886f9df162ff368d.tar.xz yuzu-5e3b3c6643817a8174823910886f9df162ff368d.zip | |
k_memory_block_manager: remove auditing calls
Diffstat (limited to 'src')
| -rw-r--r-- | src/core/hle/kernel/k_memory_block_manager.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/core/hle/kernel/k_memory_block_manager.h b/src/core/hle/kernel/k_memory_block_manager.h index 7c0bd16f0..96496e990 100644 --- a/src/core/hle/kernel/k_memory_block_manager.h +++ b/src/core/hle/kernel/k_memory_block_manager.h | |||
| @@ -144,14 +144,10 @@ private: | |||
| 144 | 144 | ||
| 145 | class KScopedMemoryBlockManagerAuditor { | 145 | class KScopedMemoryBlockManagerAuditor { |
| 146 | public: | 146 | public: |
| 147 | explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager* m) : m_manager(m) { | 147 | explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager* m) : m_manager(m) {} |
| 148 | ASSERT(m_manager->CheckState()); | ||
| 149 | } | ||
| 150 | explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager& m) | 148 | explicit KScopedMemoryBlockManagerAuditor(KMemoryBlockManager& m) |
| 151 | : KScopedMemoryBlockManagerAuditor(std::addressof(m)) {} | 149 | : KScopedMemoryBlockManagerAuditor(std::addressof(m)) {} |
| 152 | ~KScopedMemoryBlockManagerAuditor() { | 150 | ~KScopedMemoryBlockManagerAuditor() = default; |
| 153 | ASSERT(m_manager->CheckState()); | ||
| 154 | } | ||
| 155 | 151 | ||
| 156 | private: | 152 | private: |
| 157 | KMemoryBlockManager* m_manager; | 153 | KMemoryBlockManager* m_manager; |