MemoryManager: Fix errors popping out.

This commit is contained in:
Fernando Sahmkow 2022-02-19 14:18:02 +01:00
parent 3c4e05745f
commit 6a3eca65ea
3 changed files with 18 additions and 4 deletions

View file

@ -551,6 +551,11 @@ struct Memory::Impl {
[]() {});
}
[[nodiscard]] u8* GetPointerSilent(const VAddr vaddr) const {
return GetPointerImpl(
vaddr, []() {}, []() {});
}
/**
* Reads a particular data type out of memory at the given virtual address.
*
@ -686,6 +691,10 @@ u8* Memory::GetPointer(VAddr vaddr) {
return impl->GetPointer(vaddr);
}
u8* Memory::GetPointerSilent(VAddr vaddr) {
return impl->GetPointerSilent(vaddr);
}
const u8* Memory::GetPointer(VAddr vaddr) const {
return impl->GetPointer(vaddr);
}