Skip to content

Commit

Permalink
Merge pull request #1340 from Rinnegatamante/psp2_heap
Browse files Browse the repository at this point in the history
[PSVITA] Extended available heap size to 330MB.
  • Loading branch information
carstene1ns committed Apr 17, 2018
2 parents 4a1c9b1 + 0a5cbbc commit 3ee5a14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion builds/psvita/Makefile
Expand Up @@ -47,7 +47,7 @@ all: $(TARGET).vpk

$(TARGET).vpk: $(TARGET).velf
vita-make-fself -s $< release/eboot.bin
vita-mksfoex -s TITLE_ID=$(APP_ID) "$(APP_TITLE)" release/sce_sys/param.sfo
vita-mksfoex -s TITLE_ID=$(APP_ID) -d ATTRIBUTE2=12 "$(APP_TITLE)" release/sce_sys/param.sfo
ifdef HAVE_ZIP
cd release; zip ../$(TARGET).vpk -r ./sce_sys ./eboot.bin
else
Expand Down
4 changes: 2 additions & 2 deletions builds/psvita/vpk_builder/build.bat
Expand Up @@ -3,9 +3,9 @@
set PATH=%CD%;%PATH%
set /p id="Insert vpk title ID [4 characters, only uppercase] (Example: AAAA): "
set /p title="Insert Game Title: "
vita-mksfoex -s TITLE_ID=%id%00001 "%title%" build\sce_sys\param.sfo
vita-mksfoex -s TITLE_ID=%id%00001 -d ATTRIBUTE2=12 "%title%" build\sce_sys\param.sfo
pngquant assets\bg.png -o build\sce_sys\livearea\contents\bg.png
pngquant assets\icon0.png -o build\sce_sys\icon0.png
pngquant assets\startup.png -o build\sce_sys\livearea\contents\startup.png
echo %id%00001> build\titleid.txt
7z a -tzip "%title%.vpk" -r .\build\* .\build\eboot.bin
7z a -tzip "%title%.vpk" -r .\build\* .\build\eboot.bin
2 changes: 1 addition & 1 deletion src/psp2_ui.cpp
Expand Up @@ -56,7 +56,7 @@ AudioInterface& Psp2Ui::GetAudio() {
}
#endif

int _newlib_heap_size_user = 192 * 1024 * 1024;
int _newlib_heap_size_user = 330 * 1024 * 1024;

#define SHADERS_NUM 4
vita2d_shader* shaders[SHADERS_NUM];
Expand Down

0 comments on commit 3ee5a14

Please sign in to comment.