This commit is contained in:
Maschell 2018-05-26 12:54:34 +02:00
commit bfc5532b4e

View File

@ -3,7 +3,7 @@
## Usage ## Usage
Following steps are required for initialization: Following steps are required for initialization:
``` ```C
InitOSFunctionPointers(); // Load OS functions InitOSFunctionPointers(); // Load OS functions
InitPadScoreFunctionPointers(); InitPadScoreFunctionPointers();
InitVPadFunctionPointers(); // Input functions for GUI control InitVPadFunctionPointers(); // Input functions for GUI control
@ -21,13 +21,13 @@ unmount_sd_fat("sd");
``` ```
Link the application with: Link the application with:
``` ```Makefile
-lgui -lutils -ldynamiclibs -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec -lgui -lutils -ldynamiclibs -lfreetype -lgd -lpng -ljpeg -lz -lmad -lvorbisidec
``` ```
You also need to add the include path to your Makefile. Example: You also need to add the include path to your Makefile. Example:
``` ```Makefile
export INCLUDE := [...] -I$(PORTLIBS)/include/freetype2 \ export INCLUDE := [...] -I$(PORTLIBS)/include/freetype2 \
-I$(PORTLIBS)/include/libgui \ -I$(PORTLIBS)/include/libgui \
-I$(PORTLIBS)/include -I$(PORTLIBS)/include
@ -56,4 +56,4 @@ This package includes:
# Credits # Credits
- Orignally based on https://github.com/dborth/libwiigui - Orignally based on https://github.com/dborth/libwiigui
- Wii U port / modification / new functions / sound / much more by dimok. - Wii U port / modification / new functions / sound / much more by dimok.
- Minor changes by Maschell - Minor changes by Maschell