-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 067662d
Showing
11 changed files
with
611 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
cmake_minimum_required(VERSION 3.2) | ||
|
||
if(NOT DEFINED CMAKE_TOOLCHAIN_FILE) | ||
if(DEFINED ENV{VITASDK}) | ||
set(CMAKE_TOOLCHAIN_FILE "$ENV{VITASDK}/share/vita.toolchain.cmake" CACHE PATH "toolchain file") | ||
else() | ||
message(FATAL_ERROR "Please define VITASDK to point to your SDK path!") | ||
endif() | ||
endif() | ||
|
||
include("$ENV{VITASDK}/share/vita.cmake" REQUIRED) | ||
|
||
set(VITA_MKSFOEX_FLAGS "${VITA_MKSFOEX_FLAGS} -d PARENTAL_LEVEL=1") | ||
|
||
project(input-vita C) | ||
|
||
find_package(SDL2 REQUIRED) | ||
|
||
include_directories( | ||
"src" | ||
) | ||
|
||
set(ELF "testgc.elf") | ||
set(SELF "testgc.self") | ||
|
||
add_executable("${ELF}" | ||
src/main.c | ||
) | ||
|
||
target_link_libraries("${ELF}" SDL2::SDL2-static) | ||
|
||
vita_create_self("${SELF}" | ||
"${ELF}" | ||
) | ||
|
||
set(VPK "vitesin.vpk") | ||
set(TITLE_NAME "Input tester") | ||
set(TITLE_ID "VIT000001") | ||
set(TITLE_VER "01.00") | ||
|
||
vita_create_vpk("${VPK}" "${TITLE_ID}" "${SELF}" | ||
NAME "${TITLE_NAME}" | ||
VERSION "${TITLE_VER}" | ||
FILE sce_sys sce_sys | ||
FILE data data | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# vitesin |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<livearea style="a1" format-ver="01.00"> | ||
<livearea-background> | ||
<image>bg0.png</image> | ||
</livearea-background> | ||
<gate> | ||
<startup-image>startup.png</startup-image> | ||
</gate> | ||
</livearea> |
Oops, something went wrong.