mirror of
https://git.rip/DMCA_FUCKER/re3.git
synced 2024-12-23 05:00:00 +00:00
fix
This commit is contained in:
parent
4e07396076
commit
49523b1c03
|
@ -116,8 +116,8 @@ public:
|
||||||
debug("CopyBack:%d (/%d)", GetNoOfUsedSpaces(), m_size); /* Assumed inlining */
|
debug("CopyBack:%d (/%d)", GetNoOfUsedSpaces(), m_size); /* Assumed inlining */
|
||||||
}
|
}
|
||||||
void Store(uint8 **flags, U** entries){
|
void Store(uint8 **flags, U** entries){
|
||||||
*flags = (Flags*)malloc(sizeof(Flags)*size);
|
*flags = (Flags*)malloc(sizeof(Flags)*m_size);
|
||||||
*entries = (U*)malloc(sizeof(U)*size);
|
*entries = (U*)malloc(sizeof(U)*m_size);
|
||||||
memcpy(*flags, m_flags, sizeof(Flags)*m_size);
|
memcpy(*flags, m_flags, sizeof(Flags)*m_size);
|
||||||
memcpy(*entries, m_entries, sizeof(U)*m_size);
|
memcpy(*entries, m_entries, sizeof(U)*m_size);
|
||||||
debug("Stored:%d (/%d)", GetNoOfUsedSpaces(), m_size); /* Assumed inlining */
|
debug("Stored:%d (/%d)", GetNoOfUsedSpaces(), m_size); /* Assumed inlining */
|
||||||
|
|
Loading…
Reference in a new issue