Skip to content

Commit

Permalink
Merge pull request #9 from DRok17/master
Browse files Browse the repository at this point in the history
Pic0 addition and boot loop fix
  • Loading branch information
Electric1447 committed Jun 27, 2021
2 parents 7ea9a2e + db57bbe commit 37cf6ce
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
13 changes: 7 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
cmake_minimum_required(VERSION 2.8)

## This includes the Vita toolchain, must go before project definition
# It is a convenience so you do not have to type
# -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake for cmake. It is
# It is a convenience so you do not have to type
# -DCMAKE_TOOLCHAIN_FILE=$VITASDK/share/vita.toolchain.cmake for cmake. It is
# highly recommended that you include this block for all projects.
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE)
if(DEFINED ENV{VITASDK})
Expand Down Expand Up @@ -92,22 +92,22 @@ target_link_libraries(easyvpk
z
m
c
ScePgf_stub
ScePgf_stub
SceGxm_stub
SceSqlite_stub
SceSqlite_stub
SceCtrl_stub
SceNet_stub
SceNetCtl_stub
SceAppUtil_stub
SceAppMgr_stub
ScePromoterUtil_stub
ScePromoterUtil_stub
SceSsl_stub
SceIofilemgr_stub
SceHttp_stub
SceIme_stub
ScePower_stub
SceSysmodule_stub
SceShellSvc_stub
SceShellSvc_stub
SceDisplay_stub
SceCommonDialog_stub
SceLibKernel_stub
Expand All @@ -119,6 +119,7 @@ vita_create_vpk(easyvpk.vpk ${VITA_TITLEID} easyvpk.self
VERSION ${VITA_VERSION}
NAME ${VITA_APP_NAME}
FILE sce_sys/icon0.png sce_sys/icon0.png
FILE sce_sys/pic0.png sce_sys/pic0.png
FILE sce_sys/livearea/contents/bg.png sce_sys/livearea/contents/bg.png
FILE sce_sys/livearea/contents/startup.png sce_sys/livearea/contents/startup.png
FILE sce_sys/livearea/contents/template.xml sce_sys/livearea/contents/template.xml
Expand Down
Binary file added sce_sys/pic0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ int main() {
initSceAppUtil();
vita2d_init();

Filesystem::removePath("ux0:data/Easy_VPK");
Filesystem::mkDir("ux0:data/Easy_VPK");

vita2d_set_clear_color(WHITE);
Expand Down Expand Up @@ -71,7 +72,7 @@ int main() {
if (pad.buttons != SCE_CTRL_SQUARE) sharedData.blockSquare = false;
if (pad.buttons != SCE_CTRL_CIRCLE) sharedData.blockCircle = false;
if (pad.buttons != SCE_CTRL_START ) sharedData.blockStart = false;

if (sharedData.scene == 0) listView.draw(sharedData, pad.buttons);
if (sharedData.scene == 1) detailsView.draw(sharedData, pad.buttons);
if (sharedData.scene == 2) popupView.draw(sharedData);
Expand Down

0 comments on commit 37cf6ce

Please sign in to comment.