fixed Texture packs being undersized.

This commit is contained in:
LazyByteDev
2026-03-03 22:50:32 -05:00
parent 1f0fddeb97
commit 890626ed5d
4 changed files with 4 additions and 2 deletions

View File

@@ -1477,7 +1477,7 @@ GDrawTexture * RADLINK UIController::TextureSubstitutionCreateCallback ( void *
// 4J Stu - All our flash controls that allow replacing textures use a special 64x64 symbol
// Force this size here so that our images don't get scaled wildly
#if (defined __ORBIS__ || defined _DURANGO )
#if (defined __ORBIS__ || defined _DURANGO || defined _WINDOWS64 )
*width = 96;
*height = 96;
#else

View File

@@ -1164,7 +1164,7 @@ void UIScene::externalCallback(IggyExternalFunctionCallUTF16 * call)
void UIScene::registerSubstitutionTexture(const wstring &textureName, PBYTE pbData, DWORD dwLength, bool deleteData)
{
m_registeredTextures[textureName] = deleteData;;
m_registeredTextures[textureName] = deleteData;
ui.registerSubstitutionTexture(textureName, pbData, dwLength);
}

View File

@@ -191,6 +191,8 @@ UIScene_LoadMenu::UIScene_LoadMenu(int iPad, void *initData, UILayer *parentLaye
else
{
#if defined(__PS3__) || defined(__ORBIS__)|| defined(_DURANGO) || defined (__PSVITA__)
// convert to utf16
uint16_t u16Message[MAX_SAVEFILENAME_LENGTH];