Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

[common/host_memory] Remove throw on benign path (#4359)

lizziec5f6f1ca5eaf
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp
index fa30b2c047..dd0780a283 100644
--- a/src/common/host_memory.cpp
+++ b/src/common/host_memory.cpp
@@ -117,7 +117,6 @@ template <typename T>
static void GetFuncAddress(Common::DynamicLibrary& dll, const char* name, T& pfn) {
if (!dll.GetSymbol(name, &pfn)) {
LOG_CRITICAL(HW_Memory, "Failed to load {}", name);
- throw std::bad_alloc{};
}
}