diff options
Diffstat (limited to 'src/democustom.h')
-rw-r--r-- | src/democustom.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/democustom.h b/src/democustom.h index a0a28b8..7f0c25e 100644 --- a/src/democustom.h +++ b/src/democustom.h @@ -17,12 +17,9 @@ #ifndef INC_DEMOCUSTOM_H #define INC_DEMOCUSTOM_H -/* maximum length of a custom demo message, in bytes */ -#define DEMOCUSTOM_MSG_MAX 253 - /* - * Write a block of up to DEMOWRITER_MSG_MAX bytes into the currently recording - * demo - NOT bounds checked, caller MUST ensure length is okay! + * Writes a custom demo message, automatically splitting into multiple demo + * packets if too long. Assumes a demo is currently being recorded. */ void democustom_write(const void *buf, int len); |