use OSScreen inititalization and ProcUI callbacks from libwhb's console.c #56
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.