Fixed save game Load/Save failed assertion on Debug build
This commit is contained in:
parent
f70c2ad54f
commit
0600edd49d
@ -319,7 +319,7 @@ _TWEEKCLASS(CTweakFloat, float);
|
|||||||
#undef _TWEEKCLASS
|
#undef _TWEEKCLASS
|
||||||
|
|
||||||
#ifdef VALIDATE_SAVE_SIZE
|
#ifdef VALIDATE_SAVE_SIZE
|
||||||
static int32 _bufBytesRead;
|
extern int32 _bufBytesRead;
|
||||||
#define INITSAVEBUF _bufBytesRead = 0;
|
#define INITSAVEBUF _bufBytesRead = 0;
|
||||||
#define VALIDATESAVEBUF(b) assert(_bufBytesRead == b);
|
#define VALIDATESAVEBUF(b) assert(_bufBytesRead == b);
|
||||||
#else
|
#else
|
||||||
|
@ -447,6 +447,10 @@ void re3_trace(const char *filename, unsigned int lineno, const char *func, cons
|
|||||||
OutputDebugStringA(buff);
|
OutputDebugStringA(buff);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef VALIDATE_SAVE_SIZE
|
||||||
|
int32 _bufBytesRead;
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
patch()
|
patch()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user