parent
73c61d9ac7
commit
f1de0bf2b7
3 changed files with 42 additions and 42 deletions
|
|
@ -888,7 +888,7 @@ struct DivInstrumentPOD {
|
|||
|
||||
struct MemPatch {
|
||||
MemPatch() :
|
||||
data(NULL)
|
||||
data(nullptr)
|
||||
, offset(0)
|
||||
, size(0) {
|
||||
}
|
||||
|
|
@ -902,9 +902,9 @@ struct MemPatch {
|
|||
void clear();
|
||||
bool calcDiff(const void* pre, const void* post, size_t size);
|
||||
void applyAndReverse(void* target, size_t inputSize);
|
||||
bool isValid() const { return size>0; }
|
||||
bool isValid() const { return size > 0; }
|
||||
|
||||
unsigned char* data;
|
||||
uint8_t* data;
|
||||
size_t offset;
|
||||
size_t size;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue