Used to insert csprogs.dat files as a download to the beginning of a demo file.
====================
*/
-void CL_CutDemo (void **buf, fs_offset_t *filesize)
+void CL_CutDemo (unsigned char **buf, fs_offset_t *filesize)
{
*buf = NULL;
*filesize = 0;
Used to insert csprogs.dat files as a download to the beginning of a demo file.
====================
*/
-void CL_PasteDemo (void **buf, fs_offset_t *filesize)
+void CL_PasteDemo (unsigned char **buf, fs_offset_t *filesize)
{
fs_offset_t startoffset = 0;
FS_Printf(cls.demofile, "%i\n", cls.forcetrack);
cls.demorecording = true;
+ cls.demo_lastcsprogssize = -1;
+ cls.demo_lastcsprogscrc = -1;
}