1 Commits

Author SHA1 Message Date
b8f6e5f187 Fix bug in memory allocation function 2024-08-24 19:07:00 +01:00

View File

@@ -75,7 +75,7 @@ void *wapp_mem_util_alloc(void *addr, u64 size, MemAccess access,
#elif defined(WAPP_PLATFORM_POSIX) #elif defined(WAPP_PLATFORM_POSIX)
void *output = alloc_posix(addr, size, access, flags); void *output = alloc_posix(addr, size, access, flags);
#else #else
return NULL; #error "Unrecognised platform"
#endif #endif
if (type == WAPP_MEM_INIT_INITIALISED) { if (type == WAPP_MEM_INIT_INITIALISED) {