Merge pull request #1 from Crayon2000/patch-1

Add syntax highlighting to readme file
This commit is contained in:
Maschell 2018-03-02 07:20:20 +01:00 committed by GitHub
commit 372c927875
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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