RISCOS: Don't force the use of dynamic areas on RISC OS 5

This commit is contained in:
Cameron Cawley 2023-02-28 22:46:03 +00:00
parent a7bfd206bf
commit 626594c36b
3 changed files with 14 additions and 4 deletions

View file

@ -32,10 +32,6 @@
#include <kernel.h>
#include <swis.h>
// By declaring this variable we force libunixlib to always use dynamic areas for data allocations
// This frees up space for plugins and allows to have plenty of space for data
const char *const __dynamic_da_name = "ScummVM Heap";
// HACK: These two function are part of private API in libunixlib
// They let allocate and free data in the application space where the stack is placed below 64MB
// When using malloc with big chunks we end up in memory mapped areas above 64MB