Added version number to the config menu

This commit is contained in:
Aurora 2016-03-27 18:39:16 +02:00
parent 1e2bf61dcf
commit c75ed567fc
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,7 @@ LD := arm-none-eabi-ld
OC := arm-none-eabi-objcopy
name := AuReiNand
version := $(shell git describe --abbrev=0 --tags)
dir_source := source
dir_patches := patches
@ -16,7 +17,7 @@ dir_build := build
dir_out := out
ASFLAGS := -mlittle-endian -mcpu=arm946e-s -march=armv5te
CFLAGS := -Wall -Wextra -MMD -MP -marm $(ASFLAGS) -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math
CFLAGS := -Wall -Wextra -MMD -MP -marm $(ASFLAGS) -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -ffast-math -DCONFIG_TITLE="\"$(name) $(version) configuration\""
FLAGS := name=$(name).dat dir_out=$(abspath $(dir_out)) ICON=$(abspath icon.png) APP_DESCRIPTION="Noob-friendly 3DS CFW." APP_AUTHOR="Reisyukaku/Aurora Wright" --no-print-directory
objects_cfw = $(patsubst $(dir_source)/%.s, $(dir_build)/%.o, \

View File

@ -57,7 +57,7 @@ void configureCFW(const char *configPath){
initScreens();
drawString("AuReiNand configuration", 10, 10, COLOR_TITLE);
drawString(CONFIG_TITLE, 10, 10, COLOR_TITLE);
drawString("Press A to select, START to save and reboot", 10, 30, COLOR_WHITE);
//Read and parse the existing configuration