mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-08-22 00:34:58 -05:00
@@ -201,6 +201,9 @@ void malloc_init_default_pool(void)
|
||||
memset(g_alloc_map, 0, sizeof(g_alloc_map)); // Clear bitmap
|
||||
}
|
||||
|
||||
extern "C"
|
||||
{
|
||||
|
||||
/// @brief The custom implementation of the bitmap allocator described at the top of this module.
|
||||
void* malloc(size_t size)
|
||||
{
|
||||
@@ -333,6 +336,8 @@ void _free_r(struct _reent *r, void* ptr) {
|
||||
return free(ptr);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
void malloc_init_default_pool(void)
|
||||
|
||||
Reference in New Issue
Block a user