Matched dolphin/OSAlloc.c
This commit is contained in:
parent
970da00ce2
commit
f6b979ac3c
2 changed files with 4 additions and 2 deletions
|
|
@ -460,7 +460,7 @@ config.libs = [
|
|||
[
|
||||
Object(Matching, "dolphin/os/OS.c"),
|
||||
Object(Matching, "dolphin/os/OSAlarm.c"),
|
||||
Object(NonMatching, "dolphin/os/OSAlloc.c"),
|
||||
Object(Matching, "dolphin/os/OSAlloc.c"),
|
||||
Object(Matching, "dolphin/os/OSArena.c"),
|
||||
Object(Matching, "dolphin/os/OSAudioSystem.c"),
|
||||
Object(Matching, "dolphin/os/OSCache.c"),
|
||||
|
|
|
|||
|
|
@ -461,7 +461,9 @@ long OSCheckHeap(int heap)
|
|||
ASSERTREPORT(0x39A, cell->next == NULL || cell->next->prev == cell);
|
||||
ASSERTREPORT(0x39B, MINOBJSIZE <= cell->size);
|
||||
ASSERTREPORT(0x39C, OFFSET(cell->size, ALIGNMENT) == 0);
|
||||
ASSERTREPORT(0x39D, cell->next == NULL || (char *)cell + cell->size < (char *)cell->next);
|
||||
/* clang-format off*/
|
||||
ASSERTREPORT(0x39D, cell->next == NULL || (char*) cell + cell->size < (char*) cell->next);
|
||||
/* clang-format on*/
|
||||
total += cell->size;
|
||||
free = (cell->size + free);
|
||||
free -= HEADERSIZE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue