diff --git a/Source/Contents/Configuration/ServiceOptions.cpp b/Source/Contents/Configuration/ServiceOptions.cpp index 1ed996b5..b142d2a5 100644 --- a/Source/Contents/Configuration/ServiceOptions.cpp +++ b/Source/Contents/Configuration/ServiceOptions.cpp @@ -728,3 +728,18 @@ void ApplyServiceOptionAndSnap(int id, unsigned char value, bool notify, int ena g_windowMgr.UpdateSnapRectangles(); } + +// GLOBAL: gl_24912 +template <> +CGameSettingsMgr* Singleton::s_instance = nullptr; + +// OFFSET: 0x00AB1040 +// FUNCTION: fn_17330 +template <> +CGameSettingsMgr* Singleton::GetInstance() { + if (!s_instance) { + s_instance = new (std::nothrow) CGameSettingsMgr; + } + + return s_instance; +}