shithub: choc

Download patch

ref: ea5677cf3760d34425ae36780d7e78c196e66b50
parent: 5ae632e4854703e37a558fe93f2733c711b8fc98
author: Turo Lamminen <turol@iki.fi>
date: Fri May 1 21:16:32 EDT 2020

doom: Make G_RecordDemo parameter const

--- a/src/doom/g_game.c
+++ b/src/doom/g_game.c
@@ -2024,7 +2024,7 @@
 //
 // G_RecordDemo
 //
-void G_RecordDemo (char *name)
+void G_RecordDemo (const char *name)
 {
     size_t demoname_size;
     int i;
--- a/src/doom/g_game.h
+++ b/src/doom/g_game.h
@@ -49,7 +49,7 @@
 void G_SaveGame (int slot, char* description);
 
 // Only called by startup code.
-void G_RecordDemo (char* name);
+void G_RecordDemo (const char* name);
 
 void G_BeginRecording (void);