diff --git a/Makefile b/Makefile index 0930ae7..acebcc8 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ endif # Version number #--------------------------------------------------------------------------------- -VERSION_MAJOR := 1 +VERSION_MAJOR := 2 VERSION_MINOR := 0 VERSION_MICRO := 0 #--------------------------------------------------------------------------------- @@ -72,7 +72,8 @@ CFLAGS := -g -Wall -O2 -mword-relocations \ -ffunction-sections \ $(ARCH) -CFLAGS += $(INCLUDE) -DARM11 -D_3DS +CFLAGS += $(INCLUDE) -DARM11 -D_3DS -DVERSION_MAJOR=$(VERSION_MAJOR) \ + -DVERSION_MINOR=$(VERSION_MINOR) -DVERSION_MICRO=$(VERSION_MICRO) CXXFLAGS := $(CFLAGS) -fno-rtti -fno-exceptions -std=c++11 -std=gnu++11 diff --git a/SavvyManager.pnproj b/SavvyManager.pnproj index 23c2a64..65dd5d9 100644 --- a/SavvyManager.pnproj +++ b/SavvyManager.pnproj @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/SavvyManager.pnps b/SavvyManager.pnps index caefe84..be6ea0c 100644 --- a/SavvyManager.pnps +++ b/SavvyManager.pnps @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/source/main.cpp b/source/main.cpp index 1519f16..d07ad0c 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -14,6 +14,8 @@ #define CONFIG_3D_SLIDERSTATE (*(float *)0x1FF81080) +static char verText[32]; + extern void loadSettings(void); extern C3D_RenderTarget* top; @@ -135,8 +137,8 @@ static void drawCannotEditMsg(void) { Draw_Text(32, 100, 0.60, BLACK, "Checkpoint, and name the backup:"); Draw_Text(32, 124, 0.60, BLACK, "SavvyManager"); } else { - Draw_Text(32, 84, 0.60, BLACK, "Cannot edit this"); - Draw_Text(32, 104, 0.60, BLACK, "game's save yet."); + Draw_Text(32, 84, 0.60, BLACK, "Cannot edit Style Savvy's"); + Draw_Text(32, 104, 0.60, BLACK, "save data yet."); } Draw_Text(32, 160, 0.65, BLACK, " OK"); } @@ -223,6 +225,8 @@ int main() ss2SaveFound = (access(ss2SavePath, F_OK) == 0); ss3SaveFound = (access(ss3SavePath, F_OK) == 0); ss4SaveFound = (access(ss4SavePath, F_OK) == 0); + + sprintf(verText, "Ver. %i.%i.%i", VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO); loadSettings(); @@ -322,6 +326,7 @@ int main() } Draw_Text(8, 112, 0.55, BLACK, "<"); Draw_Text(304, 112, 0.55, BLACK, ">"); + Draw_Text(248, 220, 0.50, BLACK, verText); if (showMessage) { drawCannotEditMsg(); }