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

use OSScreen inititalization and ProcUI callbacks from libwhb's console.c #56

Merged
merged 2 commits into from
Aug 22, 2024

Conversation

w3irDv
Copy link
Collaborator

@w3irDv w3irDv commented Jun 16, 2024

After upgrading to aroma beta 20, savemii 1.6.1 always freezes my wii u when I try to exit the application, and a force reset of the console is needed in order to restart it. Knowing that this behaviour can be caused by how the procui bg / fg switch is handled, I have modified this part of the code using as a model the same callbacks and memory allocation code that are used in libwhb's console.c.
With this changes, the application works ok and I can exit it without problems. I don't know how frequent this problem is, and if this change is really necessary or not to solve it, but I left it here as a possible starting point to solve this issue. It needs more work for sure. Any comment will be appreciated.
The Home > Exit application cycle always works as expected. The Home > return to the applicacion sometimes need the touch of a button in order to the screen to be redrawn. If I'm not wrong, this also happens with 1.6.1. This is yet to be solved.

@w3irDv
Copy link
Collaborator Author

w3irDv commented Aug 3, 2024

Fixed the acquire foreground code, now the screen is always drawn when reentering the application after hitting Home button. Not an extremely useful fix, but now this part of the UI seems stable.

@w3irDv
Copy link
Collaborator Author

w3irDv commented Aug 6, 2024

@w3irDv w3irDv merged commit 46af3bf into Xpl0itU:refactor Aug 22, 2024
1 check passed
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.

1 participant