sda4: commit the Glaze developer hard-drive dump
Un-ignored: the dev drive is the ground truth the restoration and emulator work constantly reference (DPL3/LIBDPL + VRENDER i860 renderer source, BT/RP live+dev game trees, VGL_LABS pod boot, scene/audio content). Kept in-repo for the pod-owner community. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
static int my_malloced=0;
|
||||
|
||||
char *my_malloc ( int n )
|
||||
{
|
||||
char *c=malloc(n);
|
||||
|
||||
if (c) {
|
||||
my_malloced+=n;
|
||||
printf ( "malloced %d bytes, total %d\n", n, my_malloced );
|
||||
}
|
||||
else {
|
||||
printf ( "malloced FAILED on %d bytes, total %d\n", n, my_malloced );
|
||||
}
|
||||
return c;
|
||||
}
|
||||
|
||||
void my_free ( char *c )
|
||||
{
|
||||
free(c);
|
||||
|
||||
printf ("free 0x%x\n", c );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user