CLEO5 icon indicating copy to clipboard operation
CLEO5 copied to clipboard

Update Mem.h

Open PrIzRaKDev opened this issue 1 year ago • 0 comments

There are a few things in your C++ code that can cause errors or be potentially dangerous. --------------------------------------------------------------------------- Here are the corrections I've made:

Added #include <cstring> for memcpy and memset functions. Use size_t instead of int for dimensions to conform to C++ standard definitions. Fixed MemCopy functions to avoid overloading with identical parameters. Added type conversions to work correctly with pointers. Fixed pointer incrementing operations after writing operations. Added BYTE and DWORD type declarations and constants for OP_JMP and OP_CALL opcodes.

PrIzRaKDev avatar May 13 '24 17:05 PrIzRaKDev