aboutsummaryrefslogtreecommitdiff
path: root/port/vita/src/vita.c
diff options
context:
space:
mode:
Diffstat (limited to 'port/vita/src/vita.c')
-rw-r--r--port/vita/src/vita.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/port/vita/src/vita.c b/port/vita/src/vita.c
new file mode 100644
index 0000000..bc5ca60
--- /dev/null
+++ b/port/vita/src/vita.c
@@ -0,0 +1,4 @@
+// By default the VitaSDK only allocates a small stack for the main thread
+// which is not enough for the PICO-8 engine. Specify a larter stack, 1 MiB
+// should be more than enough, and we can grow it if needed.
+unsigned int sceUserMainThreadStackSize = 1024 * 1024;