Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

service: fixed typo that MSVC did not catch as an error

bunnei0aa582bf89c3
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h
index 716669bedc..fab51753f9 100644
--- a/src/core/hle/service/service.h
+++ b/src/core/hle/service/service.h
@@ -71,7 +71,7 @@ public:
/// Frees a handle from the service
template <class T>
void DeleteHandle(const Handle handle) {
- g_object_pool.Destroy<T>(handle);
+ Kernel::g_object_pool.Destroy<T>(handle);
m_handles.erase(std::remove(m_handles.begin(), m_handles.end(), handle), m_handles.end());
}