When using component cable for Wii, GX copies a 640 wide FB into a 720 wide xfb. (revert this later)
Something (libogc?) overwrites the bottom 1/4 of one xfb during the splash screen and again just before ROM load. (This is easier to see with component cables because GX isn't overwriting the whole xfb.)
Usage:
call GUI_setLoadProg(percent) to set the bar
set percent to -1 to not show bar
set percent from 0~1.0 to show current load percentage
call GUI_toggle() as leaving and re-entering menu to clear the screen and come back to GUI
Default is for centered text, but code should be added to the menu to call GUI_centerText(bool flag) to specify centered (TRUE) or left-justified (FALSE) text.
Fixed a bug in GUI.c
Sometimes the GUI background doesn't update, again. -> This will be resolved when we move GUI into the main() loop.
There is still a bug in DEBUG.c such that all DEBUG_text pointers are NULL.
Fixed syntax error in DEBUG.c ln 85.
DEBUG_print doesn't seem to work because DEBUG_text seems to be all NULLs or empty strings.
Once DEBUG_print works, I'll make changes so that DEBUG is updated each VI. Currently, DEBUG is updated every time a gfx list is executed.