aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author浅倉麗子2020-07-12 16:46:41 -0400
committer浅倉麗子2020-07-12 16:46:41 -0400
commit172fc38d6072199b27f9354ba8aba6dab57aa68a (patch)
tree5d15db2b8bd8fdae5acc2674f54359be2103ec97
parentRemove newlib (diff)
downloadsharpscale-172fc38d6072199b27f9354ba8aba6dab57aa68a.tar.gz
Build with latest vita2d_sys
-rw-r--r--config-app/CMakeLists.txt2
-rw-r--r--config-app/main.c8
2 files changed, 8 insertions, 2 deletions
diff --git a/config-app/CMakeLists.txt b/config-app/CMakeLists.txt
index 260747d..5fbaf40 100644
--- a/config-app/CMakeLists.txt
+++ b/config-app/CMakeLists.txt
@@ -57,7 +57,7 @@ dolce_create_self("${SELF}"
set(VPK "sharpscale-config.vpk")
set(TITLE_NAME "Sharpscale Configuration Menu")
set(TITLE_ID "AKRK00005")
-set(TITLE_VER "01.08")
+set(TITLE_VER "01.09")
dolce_create_vpk("${VPK}" "${TITLE_ID}" "${SELF}"
NAME "${TITLE_NAME}"
diff --git a/config-app/main.c b/config-app/main.c
index 8c348a8..9c6350d 100644
--- a/config-app/main.c
+++ b/config-app/main.c
@@ -65,7 +65,13 @@ void _start(int args, void *argp) { (void)args; (void)argp;
sceKernelGetMemBlockBase(memid, &membase);
vita2d_clib_pass_mspace(sceClibMspaceCreate(membase, CLIB_HEAP_SIZE));
- vita2d_init();
+ vita2d_init_with_msaa_and_memsize(
+ SCE_KERNEL_128KiB, // temp pool size
+ SCE_KERNEL_32KiB, // vdm ring buffer size
+ SCE_KERNEL_128KiB, // vertex ring buffer size
+ SCE_KERNEL_64KiB, // fragment ring buffer size
+ SCE_GXM_DEFAULT_FRAGMENT_USSE_RING_BUFFER_SIZE,
+ SCE_GXM_MULTISAMPLE_NONE);
vita2d_set_vblank_wait(0);
vita2d_set_clear_color(BG_COLOUR);