Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: no longer leak memory, invalidate textures properly #2223

Merged

Conversation

briaguya-ai
Copy link
Contributor

@briaguya-ai briaguya-ai commented Dec 21, 2022

  • reverts Fix Ganondorf boss battle ending (MQ only) #2072
  • updates gSPInvalidateTexCache to use ResourceMgr_LoadTexOrDListByName to handle mq/nonmq texture logic
  • updates ganondorf to use ResourceMgr_LoadTexOrDListByName to handle mq/nonmq texture logic
  • updates king dodongo to only invalidate gDodongosCavernBossLavaFloorTex instead of everything

Build Artifacts

@leggettc18
Copy link
Contributor

Haven't investigated the memory leak yet, but can confirm the fix for the lava texture works and does not lag on Switch.

Copy link
Contributor

@leggettc18 leggettc18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed Ganondorf boss fight remains fixed and KD's lava floor texture changes without lagging on Switch.

@briaguya-ai
Copy link
Contributor Author

confirmed the memory leak is fixed by reverting 52b8962 (#2212 (comment))

@xoascf xoascf mentioned this pull request Dec 21, 2022
xoascf added a commit to xoascf/Shipwright that referenced this pull request Dec 21, 2022
xoascf added a commit to xoascf/Shipwright that referenced this pull request Dec 21, 2022
@briaguya-ai briaguya-ai merged commit 73873a6 into HarbourMasters:develop-bradley Dec 21, 2022
@briaguya-ai briaguya-ai mentioned this pull request Dec 21, 2022
@briaguya-ai briaguya-ai deleted the fix-load-tex-by-name branch December 24, 2022 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants