1
0
Fork 0
mirror of https://git.rip/DMCA_FUCKER/re3.git synced 2024-12-22 19:50:00 +00:00
This commit is contained in:
Nikolay Korolev 2019-06-22 21:38:12 +03:00
parent 4e07396076
commit 49523b1c03

View file

@ -116,8 +116,8 @@ public:
debug("CopyBack:%d (/%d)", GetNoOfUsedSpaces(), m_size); /* Assumed inlining */
}
void Store(uint8 **flags, U** entries){
*flags = (Flags*)malloc(sizeof(Flags)*size);
*entries = (U*)malloc(sizeof(U)*size);
*flags = (Flags*)malloc(sizeof(Flags)*m_size);
*entries = (U*)malloc(sizeof(U)*m_size);
memcpy(*flags, m_flags, sizeof(Flags)*m_size);
memcpy(*entries, m_entries, sizeof(U)*m_size);
debug("Stored:%d (/%d)", GetNoOfUsedSpaces(), m_size); /* Assumed inlining */