From 34db16b483c8d2714e90b45b8f4620d21d972193 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 21 Aug 2016 13:44:29 -0700 Subject: [PATCH] PSP2: Update LiveArea branding --- src/platform/psp2/CMakeLists.txt | 4 +++- src/platform/psp2/{template.xml => template.xml.in} | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) rename src/platform/psp2/{template.xml => template.xml.in} (50%) diff --git a/src/platform/psp2/CMakeLists.txt b/src/platform/psp2/CMakeLists.txt index eb056dddb..fe51b3f7e 100644 --- a/src/platform/psp2/CMakeLists.txt +++ b/src/platform/psp2/CMakeLists.txt @@ -52,11 +52,13 @@ add_custom_target(eboot.bin ${MAKE_FSELF} ${BINARY_NAME}.velf eboot.bin DEPENDS ${BINARY_NAME}.velf) +configure_file(${CMAKE_CURRENT_SOURCE_DIR}/template.xml.in ${CMAKE_CURRENT_BINARY_DIR}/template.xml) + add_custom_target(livearea ${CMAKE_COMMAND} -E make_directory sce_sys/livearea/contents COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/icon0.png sce_sys COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/pic0.png sce_sys - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/template.xml sce_sys/livearea/contents + COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_BINARY_DIR}/template.xml sce_sys/livearea/contents COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/bg.png sce_sys/livearea/contents COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/startup.png sce_sys/livearea/contents DEPENDS sce_sys) diff --git a/src/platform/psp2/template.xml b/src/platform/psp2/template.xml.in similarity index 50% rename from src/platform/psp2/template.xml rename to src/platform/psp2/template.xml.in index c6972e298..693721766 100644 --- a/src/platform/psp2/template.xml +++ b/src/platform/psp2/template.xml.in @@ -8,4 +8,12 @@ startup.png + + + + + ${VERSION_STRING} + + +