From 4ec26f2b99c7f1f5ba1942454bb6078993a64f04 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 8 May 2022 19:22:38 +0200 Subject: [PATCH] Update README.md --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6ac26ad..08647e6 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,17 @@ Put modules (in form of `.wms` files) that should be used a main()-hook into `fs The area between `0x00809000` and `0x00FFF000` will be used. +## Buildflags + +### Logging +Building via `make` only logs errors (via OSReport). To enable logging via the [LoggingModule](https://github.com/wiiu-env/LoggingModule) set `DEBUG` to `1` or `VERBOSE`. + +`make` Logs errors only (via OSReport). +`make DEBUG=1` Enables information and error logging via [LoggingModule](https://github.com/wiiu-env/LoggingModule). +`make DEBUG=VERBOSE` Enables verbose information and error logging via [LoggingModule](https://github.com/wiiu-env/LoggingModule). + +If the [LoggingModule](https://github.com/wiiu-env/LoggingModule) is not present, it'll fallback to UDP (Port 4405) and [CafeOS](https://github.com/wiiu-env/USBSerialLoggingModule) logging. + ## Building Make you to have [wut](https://github.com/devkitPro/wut/) and [WiiUModuleSystem](https://github.com/wiiu-env/WiiUModuleSystem) installed and use the following command for build: ``` @@ -39,4 +50,4 @@ docker run -it --rm -v ${PWD}:/project wumsloader-builder make clean - Maschell - Copy paste stuff from dimok - Copy pasted the solution for using wut header in .elf files from [RetroArch](https://github.com/libretro/RetroArch) -- Copy pasted resolving the ElfRelocations from [decaf](https://github.com/decaf-emu/decaf-emu) \ No newline at end of file +- Copy pasted resolving the ElfRelocations from [decaf](https://github.com/decaf-emu/decaf-emu)