mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
vita: Set the required heap sizes
This commit is contained in:
parent
f20a097b59
commit
49795745cf
2 changed files with 11 additions and 0 deletions
|
@ -228,6 +228,10 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
|
|||
add_definitions(-DPOCKETCHIP=1)
|
||||
endif(POCKETCHIP)
|
||||
|
||||
if(VITA)
|
||||
add_definitions(-DLIBSUPERDERPY_VITA_HEAP_SIZE=64)
|
||||
endif(VITA)
|
||||
|
||||
if(MAEMO5 OR POCKETCHIP)
|
||||
add_definitions(-DLIBSUPERDERPY_EMULATE_TOUCH=1)
|
||||
endif(MAEMO5 OR POCKETCHIP)
|
||||
|
|
|
@ -24,6 +24,13 @@
|
|||
#include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
#ifdef __vita__
|
||||
int _newlib_heap_size_user = LIBSUPERDERPY_VITA_HEAP_SIZE * 1024 * 1024;
|
||||
|
||||
// PIB requires at least 2MB of SceLibc heap size
|
||||
unsigned int sceLibcHeapSize = 2 * 1024 * 1024;
|
||||
#endif
|
||||
|
||||
SYMBOL_INTERNAL void SimpleCompositor(struct Game* game) {
|
||||
struct Gamestate* tmp = GetNextGamestate(game, NULL);
|
||||
ClearToColor(game, game->_priv.bg);
|
||||
|
|
Loading…
Reference in a new issue