Revert Secure funcs Part 1

This commit is contained in:
GabsPuNs
2026-04-18 14:08:30 -04:00
parent 1ceeb2a647
commit 86879aa2fc
79 changed files with 271 additions and 271 deletions

View File

@@ -21,7 +21,7 @@ void DefaultTexturePack::loadIcon()
WCHAR szResourceLocator[ LOCATOR_SIZE ];
const ULONG_PTR c_ModuleHandle = (ULONG_PTR)GetModuleHandle(nullptr);
swprintf_s(szResourceLocator, LOCATOR_SIZE ,L"section://%X,%ls#%ls",c_ModuleHandle,L"media", L"media/Graphics/TexturePackIcon.png");
swprintf(szResourceLocator, LOCATOR_SIZE ,L"section://%X,%ls#%ls",c_ModuleHandle,L"media", L"media/Graphics/TexturePackIcon.png");
UINT size = 0;
HRESULT hr = XuiResourceLoadAllNoLoc(szResourceLocator, &m_iconData, &size);