You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
349 B
14 lines
349 B
#include "common.h"
|
|
#include "memory.h"
|
|
|
|
static char primbuff[2][PRIMBUFLEN]; // Primitive buffer, just a raw buffer of bytes to use as a pool for primitives
|
|
char *nextprim;
|
|
char *primbuf_bounds;
|
|
|
|
u_char* const scratchpad = (char*)0x1F800000;
|
|
|
|
void mem_prim_reset(int db)
|
|
{
|
|
nextprim = primbuff[db];
|
|
primbuf_bounds = nextprim + PRIMBUFLEN;
|
|
}
|