diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f19ae65b..262730d07 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -261,7 +261,7 @@ endif() # Build VPK if(VITA) - vita_create_self(${VITA_EXE_NAME}.self ./SpaceCadetPinball) + vita_create_self(${VITA_EXE_NAME}.self ./SpaceCadetPinball SAFE) vita_create_vpk(${VITA_EXE_NAME}.vpk ${VITA_TITLEID} ${VITA_EXE_NAME}.self VERSION ${VITA_VERSION} NAME ${VITA_APP_NAME} diff --git a/SpaceCadetPinball/high_score.cpp b/SpaceCadetPinball/high_score.cpp index 2a3e5036c..423ddead0 100644 --- a/SpaceCadetPinball/high_score.cpp +++ b/SpaceCadetPinball/high_score.cpp @@ -26,7 +26,9 @@ static void _Vita_ShowIME() { if(_HasInit == false) { +#ifndef NDEBUG debugNetPrintf(DEBUG, "Starting text input.\n"); +#endif SDL_StartTextInput(); _HasInit = true; } @@ -34,7 +36,9 @@ static void _Vita_ShowIME() void high_score::vita_done_input() { +#ifndef NDEBUG debugNetPrintf(DEBUG, "vita_done_input\n"); +#endif SDL_StopTextInput(); _JustGotWord = true; } @@ -234,7 +238,9 @@ void high_score::RenderHighScoreDialog() } else { + #ifndef NDEBUG debugNetPrintf(DEBUG, "Please capture keyboard for %u. Last: %u; Equal: %d\n", active, last, active == last); + #endif #ifdef VITA _Vita_ShowIME(); #endif diff --git a/SpaceCadetPinball/winmain.cpp b/SpaceCadetPinball/winmain.cpp index 16a49f7bf..cb75ed76a 100644 --- a/SpaceCadetPinball/winmain.cpp +++ b/SpaceCadetPinball/winmain.cpp @@ -131,9 +131,11 @@ int winmain::WinMain(LPCSTR lpCmdLine) DatFileName = options::get_string("Pinball Data", pinball::get_rc_string(168, 0)); #if VITA +#ifndef NDEBUG std::string dataFullPath = BasePath + DatFileName; debugNetInit(DEBUG_IP, DEBUG_PORT, DEBUG); debugNetPrintf(INFO, "The data path is '%s'\n", dataFullPath.c_str()); +#endif vita_init_joystick(); #endif @@ -675,9 +677,6 @@ int winmain::event_handler(const SDL_Event* event) pb::keyup(event->key.keysym.sym); break; case SDL_KEYDOWN: -#ifdef VITA - debugNetPrintf(DEBUG, "keysym: %d\n", event->key.keysym.sym); -#endif if (!event->key.repeat) pb::keydown(event->key.keysym.sym); switch (event->key.keysym.sym) @@ -827,7 +826,7 @@ int winmain::event_handler(const SDL_Event* event) } break; default: -#ifdef VITA +#if defined(VITA) && !defined(NDEBUG) if(event->type != 1536 && event->type != 1619 && event->type != 1616) debugNetPrintf(DEBUG, "Default Event Type: %d\n", event->type); #endif diff --git a/resources/vita/sce_sys/icon0.png b/resources/vita/sce_sys/icon0.png index 53a1d4a83..494b1a9cf 100644 Binary files a/resources/vita/sce_sys/icon0.png and b/resources/vita/sce_sys/icon0.png differ diff --git a/resources/vita/sce_sys/livearea/contents/bg.png b/resources/vita/sce_sys/livearea/contents/bg.png index cbd90fa41..7cd08b6ce 100644 Binary files a/resources/vita/sce_sys/livearea/contents/bg.png and b/resources/vita/sce_sys/livearea/contents/bg.png differ diff --git a/resources/vita/sce_sys/livearea/contents/startup.png b/resources/vita/sce_sys/livearea/contents/startup.png index d22f94a0d..727ebd3f1 100644 Binary files a/resources/vita/sce_sys/livearea/contents/startup.png and b/resources/vita/sce_sys/livearea/contents/startup.png differ diff --git a/resources/vita/sce_sys/livearea/contents/template.xml b/resources/vita/sce_sys/livearea/contents/template.xml index b0bce67cd..e25e3ffc5 100644 --- a/resources/vita/sce_sys/livearea/contents/template.xml +++ b/resources/vita/sce_sys/livearea/contents/template.xml @@ -1,6 +1,6 @@ - + bg.png @@ -9,7 +9,7 @@ startup.png - + Ported by Axiom