replaced SEG_POOL_END in main_pool_init with a dynamic end that depends on POOL_SIZE instead
This commit is contained in:
1 parent
b84d4ea715
commit
3f8f49c726
1 file changed
+1
-1
+1
-1
@@ -139,7 +139,7 @@ void setup_mesg_queues(void) {
|
||||
|
||||
void alloc_pool(void) {
|
||||
void *start = (void *) SEG_POOL_START;
|
||||
void *end = (void *) SEG_POOL_END;
|
||||
void *end = (void *) (SEG_POOL_START + POOL_SIZE);
|
||||
|
||||
main_pool_init(start, end);
|
||||
gEffectsMemoryPool = mem_pool_init(0x4000, MEMORY_POOL_LEFT);
|
||||
|
||||
Reference in new issue
Block a user