touch: add new commands

This commit is contained in:
nillerusr
2021-11-16 23:46:29 +03:00
parent f7cdca7ad2
commit d2f3cc44db
138 changed files with 46564 additions and 1231 deletions
+2 -2
View File
@@ -109,7 +109,7 @@ static void VCR_Write(void const *pSrc, int size)
template<class T>
static void VCR_WriteVal(T &val)
{
VCR_Write(&val, sizeof(val));
VCR_Write((void const*)&val, sizeof(val));
}
@@ -127,7 +127,7 @@ void OutputDebugStringFormat( const char *pMsg, ... )
if ( g_bTraceRead )
{
char tempData[4096];
int tempLen;
uint tempLen;
VCR_ReadVal( tempLen );
VCR_RuntimeAssert( tempLen <= sizeof( tempData ) );
VCR_Read( tempData, tempLen );