match m_clip.c

This commit is contained in:
Rainchus
2024-03-01 16:13:53 -06:00
parent 106a4a511c
commit e8a39df100
2 changed files with 12 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#include "m_common_data.h"
extern void clip_clear(void) {
int i;
void** clip = (void**)&common_data.clip;
for (i = 0; i < sizeof(Clip_c) / sizeof(void*) - 1; i++) {
*clip++ = NULL;
}
}