diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-02 00:18:38 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2020-12-02 00:18:38 +0100 |
commit | c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788 (patch) | |
tree | f6ffd5c74960bac9b0e900f1f3f775eec21947f9 /src/rw/MemoryHeap.h | |
parent | Merge remote-tracking branch 'upstream/master' (diff) | |
parent | Remove ifndef GTA_PS2 around replays (diff) | |
download | re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar.gz re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar.bz2 re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar.lz re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar.xz re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.tar.zst re3-c0ca3c7a3eb4a565111d789b3d9f5cc1f794a788.zip |
Diffstat (limited to 'src/rw/MemoryHeap.h')
-rw-r--r-- | src/rw/MemoryHeap.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rw/MemoryHeap.h b/src/rw/MemoryHeap.h index 484cbfab..23163c1c 100644 --- a/src/rw/MemoryHeap.h +++ b/src/rw/MemoryHeap.h @@ -198,6 +198,7 @@ public: void TidyHeap(void); uint32 GetMemoryUsed(int32 id); uint32 GetBlocksUsed(int32 id); + int32 GetLargestFreeBlock(void) { return m_freeList.m_last.m_prev->m_size; } void ParseHeap(void); |