diff --git a/SuDokuLVS2019/CMakeLists.txt b/SuDokuLVS2019/CMakeLists.txt index 0c50005..186272b 100644 --- a/SuDokuLVS2019/CMakeLists.txt +++ b/SuDokuLVS2019/CMakeLists.txt @@ -113,6 +113,7 @@ find_package(PkgConfig REQUIRED) if (WIIU) include("${DEVKITPRO}/wut/share/wut.cmake" REQUIRED) add_definitions(-DWII_U) + add_definitions(-DMOUSE_INPUT) target_link_libraries(sudokul -L${DEVKITPRO}/portlibs/wiiu/lib -L${DEVKITPRO}/portlibs/ppc/lib -L${DEVKITPRO}/wut/lib) # pkg_check_modules(SDL2 REQUIRED IMPORTED_TARGET SDL2) @@ -144,6 +145,7 @@ if (WIIU) elseif (VITA) include("${VITASDK}/share/vita.cmake" REQUIRED) add_definitions(-DVITA) + add_definitions(-DMOUSE_INPUT) set(VITA_APP_NAME "SuDokuL") set(VITA_TITLEID "SDKL39690") diff --git a/SuDokuLVS2019/src/include.h b/SuDokuLVS2019/src/include.h index ba80d9a..9dc8d0f 100644 --- a/SuDokuLVS2019/src/include.h +++ b/SuDokuLVS2019/src/include.h @@ -31,6 +31,7 @@ #include #elif defined(VITA) #include +#include #elif defined(SWITCH) #include #elif defined(PSP) diff --git a/SuDokuLVS2019/src/main.cpp b/SuDokuLVS2019/src/main.cpp index cb06441..b9b357a 100644 --- a/SuDokuLVS2019/src/main.cpp +++ b/SuDokuLVS2019/src/main.cpp @@ -337,7 +337,7 @@ int main(int argv, char** args) { #else SET_TEXT_WITH_OUTLINE_ANIMATED("Press Enter", text_PressStart, OBJ_TO_MID_SCREEN_X(text_PressStart), TEXT_PRESS_START_Y); #endif - SET_TEXT_WITH_OUTLINE_ANIMATED("v1.31", text_Version_Number, (gameWidth - (text_Version_Number.rect.w * 1.25)), TEXT_VERSION_NUMBER_Y); + SET_TEXT_WITH_OUTLINE_ANIMATED("v1.32", text_Version_Number, (gameWidth - (text_Version_Number.rect.w * 1.25)), TEXT_VERSION_NUMBER_Y); if (compactDisplay) { text_Version_Number.endPos_x = text_Version_Number.startPos_x + (gameWidth * 6 / 32); } else { diff --git a/SuDokuLVS2019/src/shared.cpp b/SuDokuLVS2019/src/shared.cpp index b3eb11b..170efb7 100644 --- a/SuDokuLVS2019/src/shared.cpp +++ b/SuDokuLVS2019/src/shared.cpp @@ -20,6 +20,8 @@ Sint64 seekPos; void loadSettingsFile() { #if defined(LINUX) mkdir((string(getenv("HOME")) + "/.sudokul").c_str(), 0777); +#elif defined(VITA) + mkdir("ux0:data/SuDokuL", 0777); #endif settingsFile = SDL_RWFromFile(SETTINGS_FILE, "rb"); if (settingsFile == NULL) {