22 #ifndef WINTERMUTE_XBUFFER_H 23 #define WINTERMUTE_XBUFFER_H 25 #include <common/types.h> 26 #include <common/util.h> 44 _ptr =
new uint8_t[size];
45 if (_ptr ==
nullptr) {
52 DXBuffer(
const uint8 *ptr, uint64 size) {
53 _ptr =
new uint8[size];
54 if (_ptr ==
nullptr) {
58 memcpy(_ptr, ptr, size);
Definition: achievements_tables.h:27